Noob setup
Anonymous
PROOP

a year ago

Hi I'm working on a school project and am a noob developer. When I'm trying to deploy through github I'm getting errors.

Error: build.builder: Invalid input

I assume it has to do railway.toml. My code is:

[build]
builder = "Python"

[deploy]
start = "uvicorn main:app --host 0.0.0.0 --port $PORT"

I'm probably being a complete idiot and am very sorry for wasting yalls time.

Solved

24 Replies

Anonymous
PROOP

a year ago

621a6b07-9239-4ea7-a50c-3cbc65baed8f


a year ago

We’ll need to see those errors in order to help you out. Can you send your build/deploy logs?


Anonymous
PROOP

a year ago

Error: build.builder: Invalid input


Anonymous
PROOP

a year ago

1315129929532313600


Anonymous
PROOP

a year ago

1315129968757440500


Anonymous
PROOP

a year ago

1315129999614808300


Anonymous
PROOP

a year ago

im not sure what other logs there could be…


Anonymous
PROOP

a year ago

@Brody ?


a year ago

your railway.toml file is invalid


a year ago

delete it, and then set the start command in the service settings instead


Anonymous
PROOP

a year ago

could you elaborate on that a little, im sorry


a year ago

the deleting or the start command part lol


Anonymous
PROOP

a year ago

the starting part lol


a year ago

1315130877876895700


a year ago

not sure what an npm command is doing there though


Anonymous
PROOP

a year ago

oooo


Anonymous
PROOP

a year ago

what goes in there


Anonymous
PROOP

a year ago

start = "uvicorn main:app --host 0.0.0.0 --port $PORT"


Anonymous
PROOP

a year ago

?


a year ago

just the command part


Anonymous
PROOP

a year ago

"uvicorn main:app --host 0.0.0.0 --port $PORT"

i put in this


a year ago

without quotes


Anonymous
PROOP

a year ago

you're a god send


a year ago

!s


Status changed to Solved brody over 1 year ago


Loading...