npm lock file out of sync #31984
-
How are you running Renovate?A Mend.io-hosted app If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemI am using Renovate with lock file maintenance on many Angular projects (npm). I never had a problem with it, until this week. During lock file maintenance, Renovate updated the
It seems like the generated lock file is invalid, some major versions are updated even if some packages don't allow it. This only happens on my Angular projects, other projects seem fine. Here is an example PR: json-derulo/angular-ecmascript-intl#469 Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I was able to reproduce this by:
The resulting In conclusion, I wonder what it is about this repo/dependency list which triggers it. e.g. some uncommon case or peer dependencies or something like that. |
Beta Was this translation helpful? Give feedback.
Unfortunately the reproduction turns out to be even simpler:
npm i
npm ci
Strangely, running
npm i
a second time seems to fix the problem. See log below: