Error where node.js server game instantly crashes
s4m-b4r
HOBBYOP

a year ago

railway deployment from git instantly crashes.

Closed

27 Replies

a year ago

Are you using a Dockerfile?


s4m-b4r
HOBBYOP

a year ago

this is a school project for coursework so i dont know much but i dont think im using a docker file



a year ago

Do you have a file named Dockerfile?


s4m-b4r
HOBBYOP

a year ago

nope


s4m-b4r
HOBBYOP

a year ago

i haven’t finished coding it yet but i wanted a server to start hosting it on


a year ago

Works for me :D

1421560348741337301


a year ago

Have you modified the root directory or start command?


s4m-b4r
HOBBYOP

a year ago

i don’t think so


a year ago

Please check


s4m-b4r
HOBBYOP

a year ago

okay give me a couple of minutes


s4m-b4r
HOBBYOP

a year ago

where do i find the root directory and start commands


a year ago

Service settings


s4m-b4r
HOBBYOP

a year ago

i dont think i have

1421563295655133265

1421563296464769024


a year ago

Have you tried just redeploying?


s4m-b4r
HOBBYOP

a year ago

yes


a year ago

What are your environmental variables?


s4m-b4r
HOBBYOP

a year ago

does it work for you on the actual url


s4m-b4r
HOBBYOP

a year ago

1421563684789944431


a year ago

Yes


a year ago

Did you point it to 8080?

1421563788800425994



s4m-b4r
HOBBYOP

a year ago

thank you so much i changed the port because i thought it was meant to be set to 3000


a year ago

Honestly couldn't tell you why it's using 8080 when looking at your code, but it is, so oh well.


s4m-b4r
HOBBYOP

a year ago

should i change it in the code to 8080


a year ago

Doesn't really matter


s4m-b4r
HOBBYOP

a year ago

okay thank you


Welcome!

Sign in to your Railway account to join the conversation.

Loading...