Use the following command.
npm install --save --save-exact @
npm install --save --save-exact email@example.com )
- If the dependence is a development dependence use
- This command should automatically update the “shrinkwrap.json” file which is a lock file for the defined dependencies in the application, however, if it doesn’t happen then remove the “node_modules” directory and the `shrinkwrap.json` file and after that run “npm install” and “npm shrinkwrap” to re-generated this file.