Not seeing railway.toml file on root of project

jamesgasek
HOBBY

a year ago

In build output, I have

╔════════ Nixpacks v1.24.0 ═══════╗

║ setup │ nodejs18, npm-9x ║

║─────────────────────────────────║

║ install │ npm i ║

║─────────────────────────────────║

║ build │ npm run build ║

║─────────────────────────────────║

║ start │ npm run start ║

╚═════════════════════════════════╝

This fails, because my project uses yarn and yarn workspaces.

I have specified a railway.toml file as follows:
[phases.setup]
nixPkgs = ['…', 'yarn']

[phases.build]
cmds = ['yarn install']

[start]
cmd = 'yarn workspace backend start'

Where is my issue?

View Deploy details

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

0 Replies

Not seeing railway.toml file on root of project - Railway Help Station