NPM installer does not work, manual installing does not work either Follow
I need to install Grunt and simmilar packages.
Firslty when I open the Node & NPM menu it is mostly empty
When I click the plus button an empty window will appear with nothing to do.
So I have installed Grunt cia command line but it would not be accesigle in Webstorm untill I did something like --save-dev. Now Grunt is usable from within Webstorm. Then I had to install grunt-contrib-uglify module (wuth the --save-dev flag), but even though it appears in the list above I am getting this error message whe I try to load the modukle in Grunt:
$ /usr/local/bin/grunt --gruntfile /Users/xxx/WebstormProjects/Version1/GruntFile.js default
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
I wish I didn't have to waste my time with command line and everything worked like in the tutorials.
Please sign in to leave a comment.
this is npm issue (https://github.com/npm/npm/issues/6173) - WebStorm runs 'npm search' to get all packages from the registry. We are currently working on a workaround
what command did you use to install it? Do you have this module in your project node_modules folder?
I confirm that the process consumes all my CPU, runs forever and already crashed my mac.
To be hones now I have everything everywhere. I would like to know what shoudkl be where and how to get it there but every tutorial I've found assumes that you automatically know what to install where when using command line.
I wish there was at least a folder called Node, instead everything is scattered all over the usr folder.
The unix executable node is in usr/local/bin and a copy of node_modules folder is now almost everywhere. The main is at usr/local/lib/. Each verion of the node_module folder contains both grunt and grunt-contrib-uglify while grunt works but fails to load the grunt-contrib-uglify module :(