Not seeing railway.toml file on root of project
jamesgasek
HOBBYOP

2 years ago

In build output, I have

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

║ setup │ nodejs_18, npm-9_x ║

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

║ 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

Welcome!

Sign in to your Railway account to join the conversation.

Loading...