Deployment Issue – Need Help

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

levonbasoyan
FREE

15 days ago

project id- 7d5786bf-2a0b-4d9d-9f17-a6360024769c


15 days ago

Hey, can you try switching the builder from Nixpacks to Railpack?


Deployment Issue – Need Help - Railway Help Station