React client deployment keeps failing.
I have a node server and React client that was previously deployed on Heroku, but has met it's unfortunate demise for obvious reasons.
Over the past two weeks of searching for an alternative, Railway has shown some promise. Unfortunately, I've spent an equal amount of time trying to get the React client to work. My node server is working like a charm, tested with Postman.
Both repos exist in my github and deployments are originating from said repositories. Any help with the client deployment is greatly appreciated!
24 Replies
Project ID:
c9ab220e-7421-44e3-8103-c4be86c378c9
Can't find the project ID, but found a service ID c9ab220e-7421-44e3-8103-c4be86c378c9
close enough
Sweet
is this a react scripts app?
That is correct
Yes
there's a few things that can go wrong with those type of apps, with the error youve shown usually meaning you are using an outdated react scripts version
what version are you currently using
lemme check
18.2.0
that's the react version
what's the react scripts version
If I look inside my package.json, react-scripts says 5.0.0
oh well that's a recent version
Latest version I have installed is 5.0.1
mind sharing your repo?
Sure! One moment...
GitHub
GitHub - cflemmonds/pernclient
Contribute to cflemmonds/pernclient development by creating an account on GitHub.
ill get back to you with a solution soon
Okay, thanks for all of your effort!
just made a PR for you, check github
I was able to merge the pull request. The link opens the page now, but the sign and login forms aren't submitting. I am assuming because there is no server linked to accept the HTTP requests?
up to you too fix that functionality, you mentioned that you moved from heroku so im sure the domains you make requests to will all have to change
Awesome, I've updated all domains and now everything is working as normal. Thanks for all of your help!
no problem, glad I could help! π
Have a good night/morning lol
you as well!