You have been subscribed to a public bug:

Version of linux mint: 15 "olivia", edition is Cinnamon 32-bit

I installed npm: apt-get install npm

I then installed `grunt` globally: sudo npm install -g grunt

This installed the `grunt` script in /usr/local/bin/grunt

Unfortunately, the script for `grunt` uses #!/usr/bin/env node to try
and locate the NodeJS executable. Linux Mint installs nodejs in the
location /usr/bin/nodejs rather than in /usr/bin/node which means it
cannot be found by `grunt` and I assume that other modules installed via
npm won't be able to find it other.

I would suggest that the nodejs package also include a symbolic link
named /usr/bin/node (or even /usr/local/bin/node) to /usr/bin/nodejs so
that grunt will work.

This might also be an issue with the npm package.

** Affects: nodejs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: node nodejs npm packages
-- 
using npm to install grunt locally doesn't find nodejs
https://bugs.launchpad.net/bugs/1221904
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to