railpack.json startCommand not recognized
maxoosterveen
PROOP

12 days ago

We're in the process of migrating from Nixpack to Railpack and running into the issue where the startCommand in the deploy property is not being recognized by Railway. See the config and error below.

Gotten from the docs here: https://railpack.com/config/file

{
    "$schema": "https://schema.railpack.com",
    "steps": {
        "install": {
            "commands": [
                "pnpm install"
            ]
        },
        "build": {
            "inputs": [
                {
                    "step": "install"
                }
            ],
            "commands": [
                "moon backoffice-api:build"
            ]
        }
    },
    "deploy": {
        "startCommand": "moon backoffice-api:start"
    }
}

✖ No start command detected. Specify a start command: https://railpack.com/config/file

2 Replies

iloveitaly
HOBBY

10 days ago

Thanks for the railpack.json. I'll be looking into this, will have a resolution here next week!


maxoosterveen
PROOP

2 hours ago

Hi @iloveitaly do you have a update by any chance? 🙂


Welcome!

Sign in to your Railway account to join the conversation.

Loading...