in: npm install -g grunt ...the g means "install this globally" and the package should end up at C:\Program Files\nodejs\node_modules\npm\node_modules or some place comparable. By the way, do not try to copy the "node-modules" folders that appear when you run "npm install" at a particular folder from the command line to your master/global stash. The copy and paste trick will not work. There is more to registering than that. Another trick: Destroy the "node-modules" folders in these isolated cases to rerun the installs and get everything again to be sure the install is working as expected.
No comments:
Post a Comment