trusktr trusktr - 11 months ago 62
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 Source

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