yayoc / swagger-to-flowtype

Generate Flow types from swagger file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running on Windows, shebang causes issues

TheTFo opened this issue · comments

I'm not entirely sure how to fix this yet, I get an error:

/c/Users/anthony.foster/AppData/npm/swagger-to-flowtype: line 12: /usr/local/bin/node: No such file or directory

I'm sure this is due to Windows, and changing the shebang to:

/usr/local/bin node

may help.

commented

I updated the shebang path at version 0.0.5.
I'm not sure if the change solves this issue though.
Could you confirm on your env after updating the version?

@TheTFo

Looks good!