Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"env: node\r: No such file or directory" for smushit CLI on OSX #4

Closed
wbeeftink opened this issue Jan 15, 2013 · 1 comment
Closed

Comments

@wbeeftink
Copy link

When I run the smushit CLI on OSX I get the following error:

env: node\r: No such file or directory

This is because the file is in DOS format (line endings in particular). I was able to resolve it by converting the file to a unix format:

$ brew install dos2unix
$ sudo dos2unix /usr/local/lib/node_modules/node-smushit/cli.js

I was able to determine what the problem was because of a similar issue reported here: CSSLint/csslint#82.

@wbeeftink
Copy link
Author

Latest version works on OSX. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants