Errors when trying to complete the Getting Started Tutorial
New to Railway and currently going through the start-up guide after getting my domain up-and-running. I'm in the section of the Developing Locally half where I run
railway run <cmd>
but I get the following errors:
Solution:Jump to solution
from the output of
railway --help
:
so for example if you where to normally start your app with npm run start
your new command with the cli would be railway run npm run start
in the docs <cmd>
is used a short placeholder to indicate the command you would normally run to start your app
...9 Replies
Project ID:
N/A
Project ID: 9e770b05-f236-4b56-9694-4a9c6038139a
^ Corrected
Solution
from the output of
railway --help
:
so for example if you where to normally start your app with npm run start
your new command with the cli would be railway run npm run start
in the docs <cmd>
is used a short placeholder to indicate the command you would normally run to start your app
I see, that makes things a bit clearer
Given that this is the tutorial project and I don't use either Postgres & NextJs for my day-to-day(full disclosure), it's not clear what to use for the <cmd> section
do you have any variables stored in the railway service?
Only the variables that were created during the start of the tutorial and first deployment, which I do see
the docs state
if you dont need/have variables in your railway service then you simply dont need to use
railway run <cmd>
Gotcha. The tutorial made it seem like it a necessary step
I think we can close this out. Thank you
no problem!