Npm install did not install all the package.json dependencies

the local developer installed the new dependency package using Npm install-- save. And the check has been added to the package.json file. Unexpectedly, npm install didn"t install my newly installed packages on other machines when I went online. Checked the name of the package you need in package.json.

Mar.19,2021

node 8 +, package-lock.json also needs to be deployed. Without lock files, it's easy to go wrong, because npm always tends to install updated packages, unless you have a fixed version

.
Menu