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.
There might be a file called .npmrc which can contain
.npmrc
package-lock=false
which will cause the package lock file to not be generated.