What's the best way to deploy a production build React app?

I use serve, if I perform npm start, it runs very well, my start script is '"start": "serve build -s -n -L -p 3000",', Then I do railway up, and it fails performing it's own build The Project ID is 4a0daac1-ea68-49b8-983f-e0e1cd9261fe My react run dev is
"scripts": {
"dev": "react-scripts start",
"scripts": {
"dev": "react-scripts start",
it runs very well But everytime I perform railway up, it fails building, I don't know what to do Thanks in advance Rafael
2 Replies
Percy
Percy16mo ago
Project ID: 4a0daac1-ea68-49b8-983f-e0e1cd9261fe
Brody
Brody16mo ago
please avoid opening multiple threads if the questions all pertain to the same app send your full build logs please
Want results from more Discord servers?
Add your server