Renovate fails to update Angular due to incompatible zone.js version #32606
Replies: 3 comments 11 replies
-
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. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I have also encountered this problem. I guess there are currently two solutions:
This seems to be a duplicate of #25282. |
Beta Was this translation helpful? Give feedback.
-
@rhuitl could you install the app into https://github.com/rhuitl/renovatebot-angular to reproduce the problem fully? |
Beta Was this translation helpful? Give feedback.
-
Reproducer
https://github.com/rhuitl/renovatebot-angular
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
At the moment, Renovate fails to submit a working PR that updates Angular. I'm fairly confident it fails for everybody at this time.
You'll see a PR that contains updates to
@angular/*
from e.g. version18.2.0
to18.2.12
zone.js
from~0.14.10
to~0.15.0
The problem is that NPM reports "ERESOLVE unable to resolve dependency tree" because zone.js is a peer dependency of Angular, and needs to be LOWER than version 0.15:
I was wondering if there is a recommended way to deal with this problem. For example, can Renovate update peer dependencies like
zone.js
to the latest version that is compatible? Or are there any workarounds?To reproduce this, you can use this
package.json
where I pinned the Angular version to 18.2.0:Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions