{"id":"3a5ae462-ae07-4dba-a43b-283b58028abc","slug":"pnpm-err-pnpm-ignored-builds-ignored-build-11d4","url":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4","urls":{"html":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4","md":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4.md","json":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4.json","history":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/history","worked":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/worked","didnt":"https://api.modalhub.ai/r/pnpm-err-pnpm-ignored-builds-ignored-build-11d4/didnt"},"symptom":"ERR_PNPM_IGNORED_BUILDS  Ignored build scripts: <pkg>@<version>","command":"pnpm install","exit_code":1,"tool":"pnpm","version":"11.0.0","os":null,"date":"2026-11-05","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","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"patch","body":"# pnpm-workspace.yaml, committed; v11 no longer reads the v10 keys\n-onlyBuiltDependencies:\n-  - esbuild\n+allowBuilds:\n+  esbuild: true    # reviewed: its install script may run\n# same entry without a prompt: pnpm approve-builds esbuild"},"repro":"none","check":"pnpm install --frozen-lockfile","notes":"11.0.0-11.0.5: a package set to false after a failed install still fails until node_modules is deleted (fixed in 11.0.6). Installs write \"<pkg>: set this to true or false\" placeholders (11.28+: only in a terminal); left as-is they fail. pnpm 12 prints \"Error: ERR_PNPM_IGNORED_BUILDS\"; same fix.","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[],"by_with":[]},"arms":[{"range":"11.0","status":"works"}],"dead_ends":[{"attempt":"dangerouslyAllowAllBuilds: true","why":"lets every current and future dependency run install scripts, the supply-chain hole strictDepBuilds exists to close","reports":1},{"attempt":"strictDepBuilds: false","why":"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","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"alternative_to":null,"alternatives":[],"example":"ERR_PNPM_IGNORED_BUILDS  Ignored build scripts: esbuild@0.25.8","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"],"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-11-05T18:24:46.922451Z","updated_at":"2026-11-23T18:41:33.920755Z","last_confirmed_at":null,"ledger":{"first_seq":173,"last_seq":661,"head_hash":"b47433556ccc956878462c1319dc939034caa9277004a3f80d9eac2619780430"}}
