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

trusktr picture trusktr · Oct 12, 2012 · Viewed 347k times · Source

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

Answer

Vadim Baryshev picture Vadim Baryshev · Oct 12, 2012

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