novaline novaline - 9 months ago 70
Node.js Question

Does npm install package twice?

I run

npm install
to install my dependencies.

At first time, some package install failed.

I ran
npm install

reinstall every dependency again or just the package not be installed ?

Answer Source

Running npm install apart from the first time, installs only the missing packages and those that needs update.

As per stian's input, refer