levonbasoyan
FREE
15 days ago
Hi everyone, I'm trying to deploy a simple Node.js/Express app on Railway using Nixpacks (no Dockerfile). Here's what's happening:
Railway fails during build with this error:
[stage-0 7/9] RUN --mount=type=cache... npm ci
process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1
I’ve already:
Removed Dockerfile and nixpacks.toml
Deleted node_modules and package-lock.json, reinstalled with npm install
Pushed clean code with a valid package.json
Set "start": "node server.js" in scripts
Cleared Railway's build cache and redeployed
Still getting the same build failure. Any ideas?
Thanks in advance! 🙏
0 Replies
15 days ago
Hey, can you try switching the builder from Nixpacks to Railpack?