ognjengt / build-express-api

A Command line interface for instantly building an express rest api
MIT License
48 stars 9 forks source link

env: node\r: No such file or directory #2

Closed FrancescoSaverioZuppichini closed 6 years ago

FrancescoSaverioZuppichini commented 6 years ago

Run build-express-api init outputs:

env: node\r: No such file or directory

I am using macOS 10.13.1.

ognjengt commented 6 years ago

Interesting, will look into that.

ognjengt commented 6 years ago

Solved.

TravisL12 commented 5 years ago

I had this problem too and found in other searches to open: ~/.nvm/versions/node/v10.9.0/lib/node_modules/build-express-api/bin/cli.js with vim

Then use commands: :set ff=unix <enter> :x <enter>

And the init command then worked.

ognjengt commented 5 years ago

Thank you, Travis, I will look into fixing the issue.