Sunday, May 5, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 2375  / 2 Years ago, wed, november 2, 2022, 5:22:09

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get:



/usr/bin/env: node: No such file or directory


Is there something wrong with the Ubuntu 13.10 repo, or do I have to set up some PATH variable myself?


More From » environment-variables

 Answers
3

Due to a conflict with an older "node" package, nodejs gets installed as nodejs instead of node, the latter being what jshint is looking for.



Try this:



sudo ln -s /usr/bin/nodejs /usr/bin/node


For more information, see:




[#27999] Thursday, November 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rontablis

Total Points: 293
Total Questions: 123
Total Answers: 104

Location: Austria
Member since Mon, Mar 1, 2021
3 Years ago
;