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

node.js, npm

Solution

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

Problem

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

Original source

Related problems