Error on build
capcrz12TRIAL
7 months 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"
}
}
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
7 months ago
May I ask why you are trying to run npm install && npm install --production
?