Replies: 4 comments 1 reply
-
|
Hi @22catch22, A 404 error on GitHub Pages usually means one of these common issues: The site hasn’t finished building or is failing to build. Check the “Pages” section under your repo’s settings (link here) for any build errors or warnings. In the “Pages” settings, make sure you’ve selected the correct branch (usually main or gh-pages) and the correct folder (for most static sites, it’s /root or /docs, or sometimes /build or /dist for React/Vue/Next, etc.). After you run npm run build, make sure the output is committed and pushed to the branch/folder you configured in GitHub Pages settings. After publishing, your site will be at https://22catch22.github.io/GizmoHomepagePrototype/ (case-sensitive!). Visit your Pages settings and confirm the source (branch/folder) is correct. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
just fork my page frijal.github.io , delete all files inside artikel folder, and enter your content or (static html page) to folder artikelx or artikel. |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
General
Body
Greetings.
I'm working on project for my portfolio, and I'd like to share it on github pages. I set up the repo on github, added all the necessary scripts and stuff. When I type "npm run build", everything works as it should. Everything works fine...until I actually try to access it on github pages. Everytime I try, all I get is a '404' error message.
I don't understand what's going on? Can anyone help me?
Here's the repo in question: https://github.com/22catch22/GizmoHomepagePrototype/settings
update: I think I've found the root of the problem. Whenever I try to deploy the program, the system throws a "git spawn enoent" error message. This doesn't make any sense; I've installed git on my computer. It should be working. What's going on?
Beta Was this translation helpful? Give feedback.
All reactions