ERROR Failed to switch pnpm to vXX. Looks like pnpm CLI is missing at ... #34726
Unanswered
FGoessler
asked this question in
Request Help
Replies: 1 comment
-
Hi there, Please help this Discussion progress 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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 problem
Renovate bot is not able to to properly update our dependencies anymore using pnpm. It opens the PR but then fails to update the artifacts. Leading to an updated
package.json
file, but not updatingpnpm-lock.yaml
.The error we get is:
In full this looks like this on the PR:

It is additionally annoying as we use automerge and somehow renovate is ignoring this failure and merging the PR faster than our github actions manage to start. The comment about the failure to update artifacts and the merge happen within the same minute. => We get lots of actually failing dependency updates merged onto our main branch. 😞
Maybe this related to an issue in pnpm itself? Maybe this: pnpm/pnpm#9192 ?
We use the engines and packageManager fields in package.json:
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions