Answer the question
In order to leave comments, you need to log in
NPM does not install packages and the node_modules folder is not created, what should I do?
Hey!
I study working with gulp and it turns out that NPM installs packages, but the node_modules folder is not created, and when, for example, the code is run, npm install -g gulp.spritesmith --save-dev
everything will be unscrewed, I will receive a message that everything is ok, and the dependency will not be added to gulpfile.js, respectively, you need to manually enter it there and Webstorm offers to run the package installation in a pop-up window where something like
/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --scripts-prepend-node-path=auto
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question