railway skipping bun installation step
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 /

1 Replies

0xmukesh
PROOP

8 months ago

1011a72c-7ca4-47ca-b23a-23b4f66d933c


Loading...