Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you reinstall an app's dependencies using npm?

Tags:

node.js

npm

Is there a simple way to reinstall all packages that my app depends on (i.e. they are in my apps node_modules folder)?

like image 377
trusktr Avatar asked Oct 12 '12 20:10

trusktr


People also ask

Can I reinstall npm?

If the npm or Node. js running on your Windows environment is broken, you can reinstall and get the most out of them.


1 Answers

The easiest way that I can see is delete node_modules folder and execute npm install.

like image 182
Vadim Baryshev Avatar answered Sep 29 '22 13:09

Vadim Baryshev