- Ya
- 23 Juni 2026, 03:47 UTC
- Mwandishi
- Kamo
- Ahadi ya
- afd53f8
The runner stage installed script deps (semver/chalk/prisma/...) BEFORE copying the Next.js standalone output. Next traces a partial, index.js-less semver into standalone, and that copy's top-level symlink landed last and shadowed the complete pnpm-installed semver, crashing the check-db startup script (ERR_MODULE_NOT_FOUND: .../semver/index.js). Move the script-dep install after the standalone copy so the complete packages win, carry pnpm-workspace.yaml so the reconcile honours the build-script review lists, and align PRISMA_VERSION with the app's @prisma/* ^7.6.0 and generated client.