trusktr trusktr - 2 months ago 11
Node.js Question

How do you reinstall an app's dependencies using 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)?

Answer

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