Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 28

pages user site not published

Solved! Go to Solution.

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.

 

 

27 Replies
Highlighted
Ground Controller Lvl 1
Message 2 of 28

Re: pages user site not published

Here are two screenshots

 

2018-01-03-053641_1366x768_scrot.png2018-01-03-053650_1366x768_scrot.png

Highlighted
Copilot Lvl 2
Message 3 of 28

Re: pages user site not published

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.

Highlighted
Solution
Moderator
Message 4 of 28

Re: pages user site not published

Hi @signalshore

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!

Highlighted
Ground Controller Lvl 1
Message 5 of 28

Re: pages user site not published

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

Highlighted
Ground Controller Lvl 1
Message 6 of 28

Re: pages user site not published

Still its 404 Bro!!

 

Highlighted
Ground Controller Lvl 1
Message 7 of 28

Re: pages user site not published

My site is still not available and I am experiencing the error 404! Anyone was able to see their websites live?

Ground Controller Lvl 2
Message 8 of 28

Re: pages user site not published

You need to chooose a theme in settings.  Click 'Change theme' and choose one.

 

ghtheme.JPG

Highlighted
Copilot Lvl 2
Message 9 of 28

Re: pages user site not published

Thank you! Worked for me.

Highlighted
Copilot Lvl 2
Message 10 of 28

Re: pages user site not published

Thank you SOOOOOOOOO much! This is the piece of info that totally helped me!