I am trying to install packages in the package.json
file. Unfortunately, when I run npm install
, nothing happens (nothing is installed). I have u
If you have an npm-shrinkwrap.json file, check it. The npm install
command will only install the packages specified in that file.
According to the npm install docs:
If the package has a shrinkwrap file, the installation of dependencies will be driven by that.
I had the same problem with my project. And when I looked at my npm-shrinkwrap.json file, I saw dependencies: {}
. So that's why it didn't install anything for me.