-
Notifications
You must be signed in to change notification settings - Fork 484
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 CLI CSS Lint on OSX #82
Comments
As soon as I get this working, I'm gonna add CSS Lint support to Vim via Syntastic plugin, so you better fix this quickly. :) |
Unfortunately, I don't have a Mac so it's a little bit difficult for me to make changes and see if it's working or not. Would you be willing to do a little hacking to see if you can get it working? |
Same issue here (OSX 10.6.7), that's because the file is in DOS mode. Both this solutions work :
Nicholas, have you published the package since you pulled my last commit? |
Nope, not yet. Waiting to get a few more fixes in before pushing. If your changes already fixed this issue, then yay!!! I'm planning on pushing 0.3.0 this weekend. |
OK, let's wait until you release the next version. As I mentioned earlier I was able to reproduce the bug using the current npm version whereas the git HEAD version doesn't present this problem. |
This affects at least Debian Squeeze as well. BTW, I can get this to work if I run:
|
I can verify dos2unix fixes the mentioned issue |
dos2unix sorted me out. I was also able to make it work before dos2unix with eriwen's method |
Confirmed both workarounds. I converted to Unix-style line endings with dos2unix. The "shebang" line in |
@al-the-x No, it should not break on Windows since node doesn't work outside of cygwin. |
Well, any progress on this issue? |
The new npm package has not been published yet, @nzakas any ETA? |
Hopefully before EOD today (if not, then definitely tomorrow). |
Try updating now and let me know how it goes: sudo npm update -g csslint |
It can confirm it now works. Couple o' notes though:
|
I'm getting this error when installing CSS Lint via
npm
on my Mac OSX Snow Leopard 10.6.7:This is what
npm info csslint
returns:Perhaps the newlines are still in Unix form, instead of OSX form?
The text was updated successfully, but these errors were encountered: