You are not logged in.
Pages: 1
Topic closed
If I try to install a global package with npm like :
sudo npm install -g grunt
npm will install the package in "/usr/lib/node_modules/". But it is not installing the executable anywhere.
The result of npm -g bin is
/usr/bin
So that is where I would expect the executable to be placed. But nothing is there. So if I run grunt, it just complains that grunt can't be found.
Any ideas? Thanks
====================
EDIT: OK everyone, please ignore me, I'm just being thick.
You don't install grunt globally. Grunt is the local package to install. To get the global grunt command, you install grunt-cli. Doing things correctly and everything works fine.
Last edited by mongus (2014-03-29 21:10:47)
Offline
I'm having this same problem. FInd any solutions?
Offline
This thread is a year and two days old. The OP indicated what they had found and presumably are no longer following this thread.
I have no idea what npm is about, but if the OP's comments don't help, pleas go ahead and open a new thread that you will own. Maybe provide a bit more information. In the mean time I am going to close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed