I have a site at https://github.com/signalshore/signalshore.github.io/ that shows 404 when i try to visit it through signalshore.github.io
This has been happenning for almost 2 hours.
Solved! Solved! Go to Solution.
Posting this reply because I ran into the same problem and using the response marked as a solution did not work for me.
To publish my page, I followed the steps in here: https://github.com/gitname/react-gh-pages
I got a 404 error when I navigated to <username>.github.io/<repo-name>
What worked for me was
-ensuring my repo was public
-changing the name of my repo to a new name (to repo-name2 for example) and then
-updating the package.json file with "homepage": "http://<username>.github.io/<repo-name2>"
-then running npm run deploy command again
this fixed the problem for me.
I just took a look, and your site appears to be live currently.
If you're still seeing a 404 error, it's possible your browser is serving a cached version of the page from before it was successfully published. If you happen to be using Chrome as your browser, you can use the keyboard shortcut Control+Shift+R to fix this. Alternatively, you could try visiting your website in an incognito or private browsing window.
It's also good to note that it can take up to ten minutes for a GitHub Pages build to complete (and for your changes to appear) after pushing a new commit to your repository. So sometimes, it takes a few before you'll see your site as you expect it.
Hope this helps!
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
Hello, im presently also having the same issue, it all started with deploying through m terminal, first got the
fatal: A branch named 'gh-pages' already exists.
Solved this by deleting the node_modules/.cache folder.
Then proceeded into re-running deployment and got another issue.
fatal: destination path 'node_modules\gh-pages\.cache\github.com!derahn!My-portfolio.git' already exists and is
not an empty directory.
Solved this by visiting my repo setting and dissabling the gh-pages section (setting source to none)
On doing this, everything seemed to work ok, with my terminal finally displaying the published solution.
But then its been about an hour and still getting the 404 error code.
Heres the link to the site: https://derahn.github.io/dotun_portfolio/
Please advice accordingly, thanks
even i have am facing the samr problem..i have tried what u have mentioned in the post but still it's showing page not found
can u help me in this regard please..