I have this error when starting clawd npm warn Unknown project config "allow-build-scripts". This will stop working in the next major version of npm.
clawdbot@2026.1.17-1 clawdbot
node scripts/run-node.mjs configure
[clawdbot] Building TypeScript (dist is stale).
node:events:486
throw er; // Unhandled 'error' event
^
Error: spawn pnpm ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn pnpm',
path: 'pnpm',
spawnargs: [ 'exec', 'tsc', '-p', 'tsconfig.json' ]
}
Node.js v25.2.1 npm warn Unknown project config "allow-build-scripts". This will stop working in the next major version of npm.
clawdbot@2026.1.17-1 clawdbot
node scripts/run-node.mjs configure
[clawdbot] Building TypeScript (dist is stale).
node:events:486
throw er; // Unhandled 'error' event
^
Error: spawn pnpm ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn pnpm',
path: 'pnpm',
spawnargs: [ 'exec', 'tsc', '-p', 'tsconfig.json' ]
}
Node.js v25.2.1