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

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.

 

 

39 Replies
Highlighted
Ground Controller Lvl 1
Message 2 of 40

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 40

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
Ground Controller Lvl 2
Message 4 of 40

Re: pages user site not published

this is the real solution. Thanks it worked for me

 

Highlighted
Ground Controller Lvl 1
Message 5 of 40

Re: pages user site not published

Thanks it worked.

Highlighted
Copilot Lvl 2
Message 6 of 40

Re: pages user site not published

This solved the problem, thank you so much!

Highlighted
Ground Controller Lvl 2
Message 7 of 40

Re: pages user site not published

@osaimola Thanks bud, well done :)

Highlighted
Copilot Lvl 2
Message 8 of 40

Re: pages user site not published

This is real ..It worked !!! Thank You

But I have another issue ..the main file i.e., index.html worked but as I click in my login and Signup button only the html files open not the css.

Highlighted
Ground Controller Lvl 1
Message 9 of 40

Re: pages user site not published

I don't have package.json file in my repo 

Highlighted
Solution
Moderator
Message 10 of 40

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!