hemerajs / hemera-cli

CLI for Hemera
MIT License
4 stars 2 forks source link

node\r: No such file or directory #1

Closed kristianmandrup closed 7 years ago

kristianmandrup commented 7 years ago
16:23 $ npm install -g hemera-cli
/usr/local/bin/hemera-cli -> /usr/local/lib/node_modules/hemera-cli/index.js
/usr/local/lib
└── hemera-cli@1.0.6 

npm WARN eslint-config-standard@6.2.1 requires a peer of eslint-plugin-promise@>=3.3.0 but none was installed.
npm WARN eslint-config-standard@6.2.1 requires a peer of eslint-plugin-standard@>=2.0.0 but none was installed.
✔ ~/repos/tecla5/aither [master|✚ 1] 
16:23 $ hemera-cli
env: node\r: No such file or directory
kristianmandrup commented 7 years ago

Fix

$ brew install dos2unix
$ dos2unix /usr/local/lib/node_modules/hemera-cli/index.js
StarpTech commented 7 years ago

@kristianmandrup thanks for reporting. Usually eslint enforce that LF is used. I will republish it and then please try again.

kristianmandrup commented 7 years ago

@StarpTech My own fix worked just fine. Please provide better CLI usage docs in the README. Thanks.

StarpTech commented 7 years ago

@kristianmandrup you can create a PR ;)