0

I see other topics regarding this issue, but following their advice has not helped my particular issue.

I have tried following the https://create-react-app.dev/docs/deployment/ documentation on the github pages section. It didn't work the first time, so I thought maybe I did something wrong. So, I also did a hard reset, and started back over and tried it again.

Yesterday I published my calculator project to git hub pages. I then deleted it because someone told me I wouldn't be able to post a dynamic site on there. Well I later found out that a simple calculator is not dynamic site because its not accessing a server. So, I decided to try and post it to gh pages once again. Once again, the gh page is showing a blank page. Apparently this is a common issue.

the gh page link: https://benjamin-wofford.github.io/Purple-Calculator/

and the repository link: https://github.com/Benjamin-Wofford/Purple-Calculator/tree/gh-pages

Please help guide me so that I can get my calculator up on the internet

3
  • You might be missing a homepage path in your package.json. If thats's the case then you'll only have to add "homepage": "." Commented Dec 12, 2019 at 16:21
  • I've implemented that. It's step one of the deployment article. No change so far. Commented Dec 12, 2019 at 16:49
  • Maybe specifying the homepage url helps, here's a thread with the same issue: stackoverflow.com/questions/54427793/… Commented Dec 12, 2019 at 17:28

1 Answer 1

0

My manifest.json file somehow was built using HTML code. So, I switched out the code with the actual manifest.json file that was on my local repository, and it fixed the issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.