You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. pnpm-lock.yaml outdated (ERR_PNPM_OUTDATED_LOCKFILE)
apps/template/backend was added to the workspace but pnpm install
was never run — lockfile had empty specifiers for that package.
Fixed by running pnpm install at root.
2. Docker build: better-sqlite3 node-gyp fails — no Python in node:22-slim
- Builder stage: add python3 make g++ via apt before pnpm install
- Runtime stage: replace 'npm install --omit=dev --ignore-scripts'
(which breaks native modules) with 'pnpm deploy --prod' in builder
then copy the flat deploy/node_modules to runtime. This carries the
compiled better-sqlite3.node binary without needing Python at runtime.
0 commit comments