When you do npm install in a folder which has an npm-shrinkwrap.json file it will only verify that top level dependencies have the same version as per node_modules & npm-shrinkwrap.json
It does not recursively verify that your node_modules tree and npm-shrinkwrap.json file agree.
When you do
npm install
in a folder which has annpm-shrinkwrap.json
file it will only verify that top level dependencies have the same version as per node_modules & npm-shrinkwrap.jsonIt does not recursively verify that your node_modules tree and npm-shrinkwrap.json file agree.