: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
mikee100
TRIALOP

2 years ago

: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

nab
PRO

2 years ago

I was getting a similar error and was able to fix it by changing the nixpacksVersion back to 1.21.2.
In my case, I did this by creating a railway.json file in the root of my project with the following contents:

{
    "$schema": "https://railway.app/railway.schema.json",
    "build": {
        "nixpacksVersion": "1.21.2",
        "builder": "NIXPACKS"
    }
}

Loading...