Can´t upload react app to github pages (shows readme)

hope you´re doing good, i´m kind of losing my mind here trying to deploy an … Read more Can´t upload react app to github pages (shows readme)

hope you´re doing good, i´m kind of losing my mind here trying to deploy an existing react app into Github Pages

So this is my repo on GitHub, i tried to follow a bunch of youtube tutorials like this one, this other one, and also this one. I´ve searched and fixed for every error that popped-up in the VSCode terminal but at the end it just won´t work.

I tried changing the "homepage" and "deploy" keys in package.json but it doesnt do much, also sometimes my archives (src and public folders, etc) in the repo disappear, like they got erased or something but i dont understand how is that even possible. Also tried to change the default branch (master and gh-pages, they both dont work).

Sometimes the website (https://baut1.github.io/) doesnt show anything, sometimes it shows a readme file, but it never seems to understand what are the archives i want it to read.

Thank you for reading, if you happen to have any tips at all they are welcome.

I could also add some pictures if needed, but i think everything is in the github repository.

Cheers!

Source: React – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *