mirror of
https://github.com/hanzoai/captable.git
synced 2026-10-16 14:21:29 +00:00
The deps stage ran `corepack enable pnpm` with no version, so corepack
resolved whatever npm calls latest — pnpm 11.20.0, whose bin/pnpm.cjs is a
three-line `import('./pnpm.mjs')` shim. The corepack bundled with Node
20.11.0 loads that file through vm without an import callback and dies with
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING. The build broke with no commit to
this repo, which is the actual defect: the version was never stated.
State it once, in the field that owns it. 9.15.9 is the last patch of the 9
line, which is what pnpm-lock.yaml (lockfileVersion 9.0) and engines.pnpm
(>=9.1.2) already ask for; pnpm 9 also still runs dependency install scripts
by default, which prisma needs. Its bin is plain CJS, so the corepack in this
base image can load it.