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.
I was also facing the same issue
I just removed the package-lock=false from .npmrc and now it is creating the lock file
package-lock=false