Hello please can i get help? i have been trying to deploy my react.js app but keep on saying error 404 “page not found”. i have followed all steps and made some research but still the same thing. please any help? which information can i share to get feed back?
The configuration you displayed in the original post appears correct, however yes, I see a 404 returned on refresh (normal navigation does appear to work correctly) which suggests there is an issue with this.
Are you able to share the repository you are deploying from?
As stated in my initial post, I only created the netlify.toml after I discovered the issue and was trying to get it solved. Before I had the file, I had successfully deployed my app and all pages were functional.
I see that you’ve moved the netlify.toml file to the root directory. We believe that since the .toml file is now in the right place, you should be able to build if you remove && cp _redirects dist from the build command. Could you give that a shot and let us know how it goes?