nrekretep / pikturr

Simple tool to turn a swagger api spec into a uml class diagram.
MIT License
133 stars 19 forks source link

Error occurred #2

Closed luto65 closed 6 years ago

luto65 commented 7 years ago

output-file

luto65 commented 7 years ago

that error was obtained by executing the command in example, after proper installation node index.js 'http://petstore.swagger.io/v2/swagger.yaml'

antonyh commented 7 years ago

You could try this variant: https://github.com/antonyh/pikturr

I've removed all the node_modules and put them into 'package.json' - a side effect is updated versions to latest. It could be that something is outdated, or OS specific so it doesn't work on Mac - if that's the case, then my fork might solve this for you. It certainly worked for me (Linux Subsystem for Windows)

nrekretep commented 6 years ago

The corresponding PR which put the dependencies into "package.json" has been merged.