I accidentally deleted my package-lock.json file. npm install is not generating a new one. How do I get npm to recreate this file.
If your npm version is <5 you will have a shrinkwrap.json file created when running npm install.
shrinkwrap.json
Otherwise package-lock will be created on npm versions 5 and above.
package-lock