You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] package-lock.json file inconsistent between different npm install runs #7841
`npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync.
Please update your lock file with `npm install` before continuing.
Run npm install again -> the lock file is changed!
Run npm ci again -> this time it succeeds
Why this is a problem
I am using Renovate to automate the dependency updates, with the lockFileMaintenance option. With this issue, the bot creates an invalid lock file which needs to be manually fixed. I run the bot on several Angular projects and all have this issue.
Environment
npm: 10.9.0
Node.js: 20.18.0
OS Name: MacOS 12.7.6
System Model Name: Macbook Pro
npm config:
; "builtin" config from /usr/local/lib/node_modules/npm/npmrcprefix = "/usr/local"; "user" config from /Users/json-derulo/.npmrc
//registry.npmjs.org/:_authToken = (protected)
; node bin location = /usr/local/bin/node; node version = v20.18.0; npm local prefix = /Users/json-derulo/projects/angular-ecmascript-intl; npm version = 10.9.0; cwd = /Users/json-derulo/projects/angular-ecmascript-intl; HOME = /Users/json-derulo; Run `npm config ls -l` to show all defaults.
Closing: this looks to be similar if not a duplicate of an existing issue, #6787. If you believe your instance is unique, please provide further clarifying details.
Activity
milaninfy commentedon Oct 16, 2024
Closing: this looks to be similar if not a duplicate of an existing issue, #6787. If you believe your instance is unique, please provide further clarifying details.
build(deps): drop the root postcss override, every requirer already e…
chore(deps): resolve postcss to 8.5.29 so the lock satisfies vite's ^…
chore(deps): resolve postcss to 8.5.29 so the lock satisfies vite's ^…