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

jshint some js file /usr/bin/env: node: No such file or directory #1230

Closed
ghost opened this issue Aug 10, 2013 · 3 comments
Closed

jshint some js file /usr/bin/env: node: No such file or directory #1230

ghost opened this issue Aug 10, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 10, 2013

i use npm install jshint and Add -g to install globally on your system.
but when i use jshint detect some js file, it show error:
/usr/bin/env: node: No such file or directory

Xubuntu13.04

@valueof
Copy link
Member

valueof commented Aug 13, 2013

Most likely the Node binary is not in your PATH.

@valueof valueof closed this as completed Aug 13, 2013
@Krenair
Copy link

Krenair commented Mar 13, 2014

Thought I'd comment here because I ran into this issue on my system (and this comes up as a high result on a google search). The fix was to make it look for 'nodejs' rather than 'node' by editing the first line of /usr/local/lib/node_modules/jshint/bin/jshint

@Mithgol
Copy link

Mithgol commented Apr 21, 2014

sudo apt-get install nodejs-legacy

See also nodejs/node-v0.x-archive#3911.

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

3 participants