0xmukesh
PROOP
8 months ago
ive created a new deployment and saw that railway skipped the installation step which lead that deployment to crash. ive tried to add a separate install phase in railway.json but it didn't work
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nixpacksPlan": {
"phases": {
"setup": {
"aptPkgs": ["...", "fontconfig"]
},
"install": {
"dependsOn": ["setup"],
"cmds": ["bun i --no-save"]
}
}
}
}
}it threw "config railway.json is not found", but railway.json is present in the root directory of my project and root directory on railway is set to be /