Renovate suddenly updates npm
and node
to pinned versions for engines
#28478
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.Github Actions - renovatebot/[email protected]; renovate version 37.302.0 Please tell us more about your question or problemHi, I have an "engines": {
"node": "20",
"npm": "10"
}, This worked well before and renovate did not touch it until probably around 2 weeks ago. Reading through some issues here, it seems by default it is not intended that the I do not have enabled this explicitly in the config but I do have
I could not find a bug related to this created in the last few days but I could not find a cause in the configuration as it seems there was no related change in my configuration. So I guess it was introduced in one of the recent renovate versions. Logs (if relevant)Select me to see logs
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. To get started, please read our guide on creating a minimal reproduction. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hi there, This issue or discussion is missing some logs, making it difficult or impossible to help you. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf you haven't posted any log yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appSelect me to read instructionsIf you use the Mend Renovate app (GitHub):
Finding logs when self-hostingSelect me to read instructionsRead the Renovate docs, troubleshooting, self-hosted to learn how to find the logs. Insufficient logsSelect me to read instructionsIf you already gave us a log, and the Renovate team said it's not enough, then follow the instructions from the No logs at all section. Formatting your logsSelect me to read instructionsPlease put your logs in a
If you feel the logs are too large to paste here, please use a service like GitHub Gist and paste the link here. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
If anyone else faces this:
|
Beta Was this translation helpful? Give feedback.
If anyone else faces this:
This #13521 (reply in thread) helped me resolve it.
It seems somehow in my renovate config I created some group that caused the rangeStrategy to change for the engines updates.
Adding something like this (as mentioned in the above comment) resolves it.