Renovate downgraded npm lockfile version from v2 to v1 #14409
Replies: 3 comments 11 replies
-
|
Hi there, We have found that there's a problem with the logs. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf there's no log posted yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appClick me to read instructionsIf you use the Renovate app (GitHub):
Finding logs when self-hostingClick me to read instructionsIf you're running self-hosted, run with Insufficient logsClick me to read instructionsIf you already provided logs, and the Renovate team said they are not enough, follow the instructions from the No logs at all section. Formatting your logsClick me to read instructionsPlease put your logs in a |
Beta Was this translation helpful? Give feedback.
-
|
I could enable debug logging and attach the logs if necessary, but is it really necessary? |
Beta Was this translation helpful? Give feedback.
-
|
I assume you are using the full renovate docker image? You need to set |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
31.89.12
Please select which platform you are using if self-hosting.
Bitbucket Cloud (bitbucket.org)
If you're self-hosting Renovate, tell us what version of the platform you run.
It's a cloud service, there's no versioning.
Was this something which used to work for you, and then stopped?
Not applicable, because this is a fairly new installation.
Describe the bug
I enabled Renovate for a frontend project yesterday, which uses NPM, and at least one of Renovate's first pull requests contained an update of axios:
However, the diff in package-lock.json was so huge that Bitbucket refuses to display it, and a really unexpected change in that diff was a downgrade of file version from v2 to v1 and removal of the whole
packagesstructure from the file:This appears to be exactly the opposite of what was reported in #14062.
Is there any way for us to prevent such lockfile downgrades in the future? Or any explanation why it would happen in the first place?
Relevant debug logs
No response
Have you created a minimal reproduction repository?
No reproduction repository
Beta Was this translation helpful? Give feedback.
All reactions