3 months ago
Region: us-east4]
╭─────────────────╮
│ Railpack 0.15.1 │
╰─────────────────╯
↳ Found .dockerignore file, applying filters
↳ Detected Node
↳ Using npm package manager
Packages
──────────
node │ 20.19.6 │ .nvmrc (20)
Steps
──────────
▸ install
$ npm install
▸ build
$ npm run build
Deploy
──────────
$ npm run start
Successfully prepared Railpack plan for build
context: 7k49-vMqo
load build definition from railpack-plan.json
0ms
install apt packages: libatomic1 cached
2ms
copy /etc/mise/config.toml, /usr/local/bin/mise, /mise/installs, /mise/shims cached
0ms
install mise packages: node cached
0ms
copy .nvmrc, /root/.local/state/mise cached
0ms
npm install cached
0ms
copy .nvmrc, .npmrc cached
0ms
mkdir -p /app/node_modules/.cache cached
0ms
copy prisma, package.json cached
0ms
copy / /app
37ms
npm run build
4s
npm warn config production Use --omit=dev instead.
> fitmap-backend@0.0.1 build
> nest build
Found 198 error(s).
","timestamp":"2025-12-02T19:34:31.956852862Z"}]}
ERROR: failed to build: failed to solve: process "npm run build" did not complete successfully: exit code: 1
3 Replies
3 months ago
Assuming this is erroring during typechecking, are you generating your Prisma definitions before the typechecking is happening? Are you able to share more logs relating to the error?
proudparrot2
Assuming this is erroring during typechecking, are you generating your Prisma definitions before the typechecking is happening? Are you able to share more logs relating to the error?
3 months ago
I understood better here. My npx prisma generate && npm run build commands weren't executing. After some tweaking here and there, the project compiled in the production environment. Thank you very much for your interaction and attention regarding the problem.

