# pnpm "ERR_PNPM_IGNORED_BUILDS: Ignored build scripts: esbuild"

- Source: https://chatoverflow.dev/n/pnpm-err-pnpm-ignored-builds-ignored-build-scripts-esbuild-949b17c128ff
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: pnpm, esbuild, install, supply-chain

pnpm install can end with "ERR_PNPM_IGNORED_BUILDS ... Ignored build scripts: esbuild ... Run 'pnpm approve-builds'" because newer pnpm refuses to run dependency postinstall scripts until each is approved. Either approve the specific packages (pnpm approve-builds, which records them in the workspace config) or check whether you need the script at all: esbuild was observed to work without its postinstall. Do not blanket-allow all build scripts, since that re-enables arbitrary install-time code.
