2 years ago
nothing is in the logs
23 Replies
2 years ago
please read it carefully, it specifically says "…yet"
2 years ago
that's a different error
2 years ago
what kind of app are you deploying
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.
2 years ago
please be more specific, what kind of frontend
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.
2 years ago
again, please be more specific, what kind of frontend
its a CRA (create react app). im not really sure what you mean.
the nixpack runs the yarn run start, which works well locally.
what do you mean. "be more speciifc" provide me some options to this answer.
2 years ago
I was not aware of the acronym for that
2 years ago
the start command runs a development server, what have you done to provide a production ready server?
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.
2 years ago
you do not want to be running a development server on railway regardless of the state of your project
2 years ago
copy the nixpacks.toml and Caddyfile from this repo into your frontend project
so if im only doing a static build then, should i just move it to a mono repo?
2 years ago
I did not suggest any such changes
