cli
cli copied to clipboard
[BUG] npm install cannot update the lock file
Is there an existing issue for this?
- [X] I have searched the existing issues
This issue exists in the latest npm version
- [X] I am using the latest npm
Current Behavior
Hi,
We are trying to upgrade some libraries, using the renovate bot:
but when the npm install
command is executed, it fails to update the package-lock.json file.
We get the following error:
If I manually delete the package-lock.json
file and node_modules
folder, and then run the npm install
command, it works:
Any ideas why it fails?
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- npm: 10.2.5
- Node.js: 20.10.0
- OS Name: Mac OS & Linux & Windows
- npm config:
save-exact = true
save-prefix = ""