React website throw a 404 page not found error on reloading the page.
Author: DebojyotibabaiCreated Feb 12, 2021Updated Aug 30, 2023
Whenever I reaload my react website, it throws me page not found error. What I suppose to do? But there is no issue with my other react projects that has been deployed in github.
To push new/updated code to my gthub repo, I write this code ->
- git add .
- git commit -m "change css"
- git push origin master
- npm run deploy
What is the problem?
Source: gitname/react-gh-pages