> On 21 Feb 2015, at 12:21, Sean Ingham <[email protected]> wrote:
> 
> Hi Ishan,
> 
> I had this same issue. The jasmine-node executable includes the line 
> '#!/usr/bin/env node' - which means it should be run with the binary named 
> 'node'. However if you've installed node.js via a debian/ubuntu package 
> manager the node.js binary is named 'nodejs', and 'node' refers to a 
> different package altogether. 
> 
> The solution is to remove the 'node' package (presuming you don't need it):
> 
> sudo apt-get remove node
> 
> Then symlink 'nodejs' to 'node':
> 
> sudo ln -s /usr/bin/nodejs /usr/bin/node


Or better here: install nodejs-legacy package, which supplies the symlink, or 
use the nodesource .deb from deb.nodesource.com to install nodejs, which is a 
modern compile without the distribution baggage.

Aria

-- 
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/E8238185-4F0A-492F-8997-FC039570CF36%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to