Skip to content

Cannot use the extension to generate diagrams #34

@AlexandruJurju

Description

@AlexandruJurju

What happened:
I got an example workflow from the serverless site for spec version 1.0 and when I try to generate the diagram I get this error:
Unable to write to SVG file: Error: ENOENT: no such file or directory, open 'C:\C:\Users{USER}\Downloads\workflows\http.yaml.svg'

What you expected to happen:
To generate the workflow diagram

How to reproduce it:
I'm using windows and the latest version of the extension for VS Code with this workflow definition from the serverless workflow examples from the home page:

document:
  dsl: '1.0.0'
  namespace: default
  name: call-http
  version: '1.0.0'
do:
- getPet:
    call: http
    with:
      method: get
      endpoint: https://petstore.swagger.io/v2/pet/{petId}

Anything else we need to know?:

Environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions