Skip to content
TerminalPoet
Go back

TIL: pnpm blocks dependency build scripts

Placeholder content. Posts in a subdirectory of src/data/blog/ get that directory in their URL.

Since pnpm 11, pnpm install fails when a dependency has a build script you haven’t approved. Approve or deny each one in pnpm-workspace.yaml:

allowBuilds:
  esbuild: false
  workerd: falsepnpm-workspace.yaml

false is a deliberate “no”: the install succeeds, and the script never runs.


Share this post on:

Previous Post
My terminal setup
Next Post
Notes on working with AI coding agents