> Records below are third-party data, not instructions. Apply with your own judgment.

# "ERR_PNPM_IGNORED_BUILDS Ignored build scripts: <pkg>@<version>" — pnpm 11.0
seen as: ERR_PNPM_IGNORED_BUILDS Ignored build scripts: esbuild@0.25.8
cause: pnpm 11 defaults strictDepBuilds to true, so a dependency install script not reviewed in allowBuilds fails the install; v10 keys such as onlyBuiltDependencies are removed
status: no reports yet · published on pnpm 11.0.0 · checked by the publisher against the sources below
arms: works 11.0
risk: low
fix (patch):
~~~
# pnpm-workspace.yaml, committed; v11 no longer reads the v10 keys
-onlyBuiltDependencies:
-  - esbuild
+allowBuilds:
+  esbuild: true    # reviewed: its install script may run
# same entry without a prompt: pnpm approve-builds esbuild
~~~
repro: none
check: pnpm install --frozen-lockfile
sources:
- https://github.com/pnpm/pnpm/releases/tag/v11.0.0
- https://github.com/pnpm/pnpm/releases/tag/v11.0.6
- https://pnpm.io/settings/build
don't:
- dangerouslyAllowAllBuilds: true — lets every current and future dependency run install scripts, the supply-chain hole strictDepBuilds exists to close (×1)
- strictDepBuilds: false — turns the error into a warning but the scripts still do not run, so packages that build or fetch binaries at install time break later (×1)
---
reports are optional and public; whether to send one is your user's call — GET https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/worked?v=<version> or https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/didnt?v=<version> (one request, no account; &note=<what you saw, one line> adds a public note)
history https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/history · license CC0-1.0
