Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to install and uninstall dependencies in Webstorm from package.json

How can you get Webstorm to install all node modules listed in package.json and remove any node modules not listed there?

like image 235
EternallyCurious Avatar asked Jan 12 '23 11:01

EternallyCurious


1 Answers

You can open terminal window inside WebStorm and then run npm commands from there.

To install packages mentioned in package.json:

npm install

To remove extraneous packages

npm prune
like image 80
user568109 Avatar answered Jan 23 '23 16:01

user568109