Troubles with publishing react application to gitHub page/blank page. #65899
Replies: 1 comment
-
No longer needed! Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GitHub hosting!
Question
Body
Hello there!
I have a problem with publishing my application to gitHub page.
Actually, it all started with the fact that after publishing the page, a 404 error appeared, which suggested that the index.html file could not be found. Knowing that the html file is not in the main directory of the project, but in the public folder, I decided to rename it to /docs and set the publishing properties of the page so that GitHub builds the page on the basis of the "/docs" folder
Note using the link: https://bakukiela.github.io/magicspot-social-media-app/client/docs/index.html ---> finally there is no 404 error. ---> But right now the page is just blank.
Here it is what i' ve done trying to resolve this problem:
adding in package.json
"homepage": "https://bakukiela.github.io/magicspot-social-media-app"
"private": false,
adding to my index.html (located in /client/docs/index.html) "
As you can guess, none of the above solutions worked. :C
Console return this issues:
GET https://bakukiela.github.io/client/build/static/js/main.7c54e11f.js net::ERR_ABORTED 404
GET https://bakukiela.github.io/client/build/static/css/main.1bfd1203.css net::ERR_ABORTED 404
I will be very grateful for your help!
My repo: https://github.com/bakukiela/magicspot-social-media-app.git
Site which i want to access: https://bakukiela.github.io/magicspot-social-media-app/client/build/index.html
Beta Was this translation helpful? Give feedback.
All reactions