React app Error 404 page not found

Hi there,

My site name is reliable-quokka-4201af
Custom domain is patrickbonini.com

I’m getting the page not found error on my site. I have already added both the _redirects file and the netlify.toml file to my build since it was built with react. I also confirmed that there is an index.html file in the build but something is still wrong. If anyone could help I’d really appreciate it. Thanks!

The build says failed but i can’t paste the code in here because “new users can only have 6 links in their post”

Hi @Patrick2735,

Thanks for reaching out and welcome to Netlify’s Support Forums!

I’m unable to replicate the issue with the page not found. I’m able to see the site here:

When I navigate to different pages, such as Projects and About, the pages load properly.

Were you able to resolve the issue?

Hi there,

I resolved the issue, it was a problem with my build settings and my environment variables.

I found a solution on GitHub.

Thanks!