React project on GoDaddy server

github logo ・1 min read

Just built my very first react app and uploaded it to my GoDaddy server.

These are the uploaded files:

enter image description here

But now, if I try to open my react project in browser, it doesn't work at all and I only see a blank page with the following errors in console:

enter image description here

I double checked, and those css files are existing inside the static folder. Why do they produce 404 error?
Am I missing something? Does a React app need special settings on external server?

twitter logo DISCUSS (3)
markdown guide
 
 

Yes, but didn't help me. I'm wondering why every one is using Horuko or Netlify for React apps.

 

Perhaps, verify your build process and ensure that all your references are correct. Your follow up question is completely different than your original post. I'm fairly new to React so not sure the answer regarding Heroku or Netlify other than perhaps the DevOps process is a little simpler when dealing with continuous integration.

Classic DEV Post from Sep 10 '18

What's your atomic bomb?

Inspired by Software that helps, except I disagree with Bertil's implicit asser...

Kayut profile image

By the community, for the community.

DEV is open source, committed to the open web, and quickly becoming the biggest world's biggest network of software developers.

Get started now ❤️