I am trying to recreate package-lock.json file after installing some new modules from package.json. But somehow it is now stopped generating the updated package-lock.json file.
The npm version I am using is > 5 currently the version is 8.5.2 and node version is 17.4.0
How can I regenerate it while doing npm install