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
Percy
Percyβ€’2y ago
Project ID: c9ab220e-7421-44e3-8103-c4be86c378c9
lone_seraph0
lone_seraph0OPβ€’2y ago
Can't find the project ID, but found a service ID c9ab220e-7421-44e3-8103-c4be86c378c9
Brody
Brodyβ€’2y ago
close enough
lone_seraph0
lone_seraph0OPβ€’2y ago
Sweet
Brody
Brodyβ€’2y ago
is this a react scripts app?
lone_seraph0
lone_seraph0OPβ€’2y ago
That is correct Yes
Brody
Brodyβ€’2y ago
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
lone_seraph0
lone_seraph0OPβ€’2y ago
lemme check 18.2.0
Brody
Brodyβ€’2y ago
that's the react version what's the react scripts version
lone_seraph0
lone_seraph0OPβ€’2y ago
If I look inside my package.json, react-scripts says 5.0.0
Brody
Brodyβ€’2y ago
oh well that's a recent version
lone_seraph0
lone_seraph0OPβ€’2y ago
Latest version I have installed is 5.0.1
Brody
Brodyβ€’2y ago
mind sharing your repo?
lone_seraph0
lone_seraph0OPβ€’2y ago
Sure! One moment...
lone_seraph0
lone_seraph0OPβ€’2y ago
GitHub
GitHub - cflemmonds/pernclient
Contribute to cflemmonds/pernclient development by creating an account on GitHub.
Brody
Brodyβ€’2y ago
ill get back to you with a solution soon
lone_seraph0
lone_seraph0OPβ€’2y ago
Okay, thanks for all of your effort!
Brody
Brodyβ€’2y ago
just made a PR for you, check github
lone_seraph0
lone_seraph0OPβ€’2y ago
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?
Brody
Brodyβ€’2y ago
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
lone_seraph0
lone_seraph0OPβ€’2y ago
Awesome, I've updated all domains and now everything is working as normal. Thanks for all of your help!
Brody
Brodyβ€’2y ago
no problem, glad I could help! πŸ™‚
lone_seraph0
lone_seraph0OPβ€’2y ago
Have a good night/morning lol
Brody
Brodyβ€’2y ago
you as well!
Want results from more Discord servers?
Add your server