Error on build
capcrz12
TRIALOP

2 years ago

While building fastapi. Error code: ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm install && npm install --production" did not complete successfully: exit code: 127.

railway.json:

{

"$schema": "https://railway.app/railway.schema.json",

"build": {

"builder": "NIXPACKS"

},

"deploy": {

"startCommand": "uvicorn main:app --host 0.0.0.0 --port $PORT"

}

}

View Deploy details

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

1 Replies

2 years ago

May I ask why you are trying to run npm install && npm install --production ?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...