Skip to content

fix: replace ignoredBuiltDependencies with allowBuilds for pnpm 11#402

Open
ztcools wants to merge 1 commit into
zilliztech:masterfrom
ztcools:fix/pnpm-11-allowBuilds
Open

fix: replace ignoredBuiltDependencies with allowBuilds for pnpm 11#402
ztcools wants to merge 1 commit into
zilliztech:masterfrom
ztcools:fix/pnpm-11-allowBuilds

Conversation

@ztcools

@ztcools ztcools commented Jun 24, 2026

Copy link
Copy Markdown

Problem

pnpm 11 deprecates ignoredBuiltDependencies and defaults to ignoring
all build scripts. Users cloning the repo and running pnpm install
get ERR_PNPM_IGNORED_BUILDS for 17 native packages (faiss-node,
esbuild, tree-sitter, keytar, etc.), making pnpm build fail.
image

Fix

Replace ignoredBuiltDependencies with allowBuilds in
pnpm-workspace.yaml, listing all native packages that need build scripts.

This is the pnpm 11 recommended approach:
https://pnpm.io/settings#allowBuilds

Verification

Tested on pnpm 11.9.0 — pnpm install && pnpm build succeeds.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant