The binary file for node.js project is called "node", and all scripts use that. This is not an issue in jslint/jshint, etc.
 
But debian/ubuntu/etc. distributions used to have their own executable named "node", so they renamed node.js binary to "nodejs" thereby causing this issue. 
 
I think the majority of users are on linux here, but we're using version from nodejs.org which is named correctly.
 
Imho, just use "nodejs-legacy" package if it works for you. Its name is misleading: it is just a symlink, there is no "legacy" in it.
 
 
28.11.2014, 21:46, "Brady Trainor" <[email protected]>:

Hi, I'm trying to learn _javascript_ fast.

I had some trouble today trying to get Tern, JSLint and JSHint setup.

With some help on an IRC, we discovered I installed a node utility which was not related to nodejs.

This is like a bug, as, if I install nodejs, and try to execute 'node', it tells me it is missing, and to install blah (assume I didn't read it carefully).

So I install node utility. And things don't work. I can execute nodejs command. But those apps Tern etc. won't work.

The solution is to remove node package, and install nodejs-legacy.

Should the maintainers of these projects be made aware of this issue? Does legacy mean the node command is being phased out? I believe their packages look for node command.

Maybe the majority of users are on OS X, and so this troubleshooting issue in't included in documentation, blogs etc.


--
Brady

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/87k32fspj9.fsf%40uw.edu.
For more options, visit https://groups.google.com/d/optout.

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4139701417201528%40web21h.yandex.ru.
For more options, visit https://groups.google.com/d/optout.

Reply via email to