Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

When starting the tool it crashes with "env: node\r: No such file or directory" #7

Closed
ChristianIvicevic opened this issue Apr 15, 2020 · 2 comments
Labels

Comments

@ChristianIvicevic
Copy link

Basically what the title says, when invoking the tool (either after installing it globally or in the project itself) it crashes with the error message env: node\r: No such file or directory.

Any idea how I can help to find the cause?

@ChristianIvicevic
Copy link
Author

Oh I found the cause already - the cli.js has CRLF line endings causing macOS to fail. I propose that you fix the corresponding line endings to LF. A manual change of line endings in the dist/cli.js will help temporarily.

dsherret added a commit that referenced this issue Apr 16, 2020
@dsherret
Copy link
Owner

@ChristianIvicevic thanks for figuring out the fix! I published a new version.

@dsherret dsherret added the bug label Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants