Summary
I'm trying to upgrade to the latest version of both tools (we're currently on pnpm 10), but I'm getting stuck in a hopeless loop. It seems that Rush doesn't support pnpm 11 properly.
Repro steps
Upgrade to Rush 5.175.1 and pnpm 11.1.1 and try to rush update.
Details
When I run rush update, I get this error:
Progress: resolved 2224, reused 0, downloaded 2012, added 2005, done
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: @arista/protobufjs@6.11.1, @parcel/watcher@2.5.6, @scarf/scarf@1.4.0, @sentry/cli@2.58.5, @tree-sitter-grammars/tree-sitter-yaml@0.7.1, core-js-pure@3.49.0, esbuild@0.27.7, esbuild@0.28.0, protobufjs@7.5.7, tree-sitter-json@0.24.8, tree-sitter@0.21.1, tree-sitter@0.22.4, unrs-resolver@1.11.1
Run "rush-pnpm --subspace default approve-builds" to pick which dependencies should be allowed to run scripts.
This already seems like an issue, because I've already added these dependencies to my pnpm config. I went through this whole issue before several months ago. See #5542 and #5683 for some context.
Anyway, I tried running the command Rush printed (rush-pnpm --subspace default approve-builds) and it "worked" in the sense that it ran the scripts, but it did not make any changes to any config files. If I subsequently run rush install or rush update, the whole process repeats itself, and the command fails again.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question |
Answer |
@microsoft/rush globally installed version? |
5.175.1 |
rushVersion from rush.json? |
5.175.1 |
pnpmVersion, npmVersion, or yarnVersion from rush.json? |
11.1.1 |
(if pnpm) useWorkspaces from pnpm-config.json? |
true |
| Operating system? |
Ubuntu, Windows 11 |
| Would you consider contributing a PR? |
No |
Node.js version (node -v)? |
24.15.0 |
Summary
I'm trying to upgrade to the latest version of both tools (we're currently on pnpm 10), but I'm getting stuck in a hopeless loop. It seems that Rush doesn't support pnpm 11 properly.
Repro steps
Upgrade to Rush 5.175.1 and pnpm 11.1.1 and try to
rush update.Details
When I run
rush update, I get this error:This already seems like an issue, because I've already added these dependencies to my pnpm config. I went through this whole issue before several months ago. See #5542 and #5683 for some context.
Anyway, I tried running the command Rush printed (
rush-pnpm --subspace default approve-builds) and it "worked" in the sense that it ran the scripts, but it did not make any changes to any config files. If I subsequently runrush installorrush update, the whole process repeats itself, and the command fails again.Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rushglobally installed version?rushVersionfrom rush.json?pnpmVersion,npmVersion, oryarnVersionfrom rush.json?useWorkspacesfrom pnpm-config.json?node -v)?