pnpm install exits 1: MemoryCore/pnpm-workspace.yaml ships "set this to true or false" placeholders
Summary
pnpm install in MemoryCore/ exits 1 on a clean checkout of feat/server_team
(commit bd88cc8, verified 2026-09-27) because MemoryCore/pnpm-workspace.yaml
ships unresolved placeholder values.
Steps to reproduce
git clone --depth 1 -b feat/server_team https://github.com/TencentCloud/TencentDB-Agent-Memory.git
cd TencentDB-Agent-Memory/MemoryCore
pnpm install
echo $?pnpm 11.21.0, node v22.22.2.
Actual result
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: @google/[email protected],
[email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected]
Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.exit code 1.
The committed MemoryCore/pnpm-workspace.yaml contains literal placeholder text
rather than a decision:
allowBuilds:
'@google/genai': set this to true or false
es5-ext: set this to true or false
esbuild: set this to true or false
koffi: set this to true or false
mongodb-memory-server: set this to true or false
node-llama-cpp: set this to true or false
openclaw: set this to true or false
protobufjs: set this to true or false
tree-sitter-bash: set this to true or falsepnpm 11 requires an explicit true/false per package with a build script. The
placeholder string is not a boolean, so pnpm treats the build as blocked and
fails the whole install.
Knock-on effect
build:scripts runs pnpm install as a pre-step, so this breaks the build
before compilation is even attempted:
> npm run build
[ERROR] Command failed with exit code 1: pnpm install
pnpm: Command failed with exit code 1: pnpm install
at runDepsStatusCheck (pnpm.mjs:271638:7)Suggested fix
Replace the placeholders with real booleans. Only esbuild needs to be true
(its postinstall links the platform binary that bundles MemoryCore); the rest
are dev-only or optional adapters and can stay false:
# pnpm 11 requires an explicit allow/deny decision per package with a build script.
# Only esbuild needs to run its install script (it downloads/links the platform
# binary that the MemoryCore bundle is built with). The rest are dev-only or
# optional adapters that the running gateway never imports, so they stay false.
allowBuilds:
'@google/genai': false
es5-ext: false
esbuild: true
koffi: false
mongodb-memory-server: false
node-llama-cpp: false
openclaw: false
protobufjs: false
tree-sitter-bash: falseWith this, pnpm install exits 0 and esbuild's postinstall runs
([email protected] postinstall: Done).
Notes
- Adding the
koffiandtree-sitter-bashentries is itself a symptom: the file is being generated by apnpm approve-buildsrun and committed with its interactive prompt text intact. - This is distinct from #716 / #759, which are about
build:seed-v2pointing at a removed directory. Both problems breaknpm run build, independently, and both need fixing for a clean build to pass.
Environment: Ubuntu, node v22.22.2, pnpm 11.21.0.
Source: TencentCloud/TencentDB-Agent-Memory