I have a simple CRA. i have added public domain. when trying to browse it says Nothing is here.
digitalcraft
PROOP

2 years ago

nothing is in the logs

23 Replies

digitalcraft
PROOP

2 years ago

99242535-0c1b-4c99-b8d5-5393175cdd3e


brody
EMPLOYEE

2 years ago

please read it carefully, it specifically says "…yet"


digitalcraft
PROOP

2 years ago

its been ages. "Application failed to respond"


brody
EMPLOYEE

2 years ago

that's a different error


brody
EMPLOYEE

2 years ago

what kind of app are you deploying


digitalcraft
PROOP

2 years ago

its an app with a front-end cra, a backnd express and a mongo.
the backend seems fine with a url.
backend is talking to mongo

frontend can't seem to get traffic from the domain.


brody
EMPLOYEE

2 years ago

please be more specific, what kind of frontend


digitalcraft
PROOP

2 years ago

i also can't seem to be able to see any logs. so i have no idea what port its trying ot map to.

my CRA runs locally, and if i prefix PORT=xxx, it correctly boots the server to that port.


brody
EMPLOYEE

2 years ago

again, please be more specific, what kind of frontend


digitalcraft
PROOP

2 years ago

its a CRA (create react app). im not really sure what you mean.
the nixpack runs the yarn run start, which works well locally.


digitalcraft
PROOP

2 years ago

what do you mean. "be more speciifc" provide me some options to this answer.


brody
EMPLOYEE

2 years ago

I was not aware of the acronym for that


digitalcraft
PROOP

2 years ago

ok


brody
EMPLOYEE

2 years ago

the start command runs a development server, what have you done to provide a production ready server?


digitalcraft
PROOP

2 years ago

what would i need to do here?

its not really for production yet. i kinda of want it to run and serve via yarn run start for now.


digitalcraft
PROOP

2 years ago

1237209152946704400


brody
EMPLOYEE

2 years ago

you do not want to be running a development server on railway regardless of the state of your project


digitalcraft
PROOP

2 years ago

ok.


brody
EMPLOYEE

2 years ago

copy the nixpacks.toml and Caddyfile from this repo into your frontend project


digitalcraft
PROOP

2 years ago

so if im only doing a static build then, should i just move it to a mono repo?


brody
EMPLOYEE

2 years ago

I did not suggest any such changes


digitalcraft
PROOP

2 years ago

ok


digitalcraft
PROOP

2 years ago

ok thanks. this looks much better.


Loading...