You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the recommended steps for deploying a React application to GitHub Pages, including setting the homepage field in package.json, configuring the basename property in the Router component, and using the gh-pages package for deployment. Despite following these steps, I have been unable to resolve the issue.
I have attempted various troubleshooting steps, such as verifying file paths, checking console errors, and ensuring dependencies are installed correctly. However, the issue persists.
PagesHost a static website, right from your repoGeneral
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
General
Body
Issue:
"https://username.github.io/app-name/" correctly displays the landing page but when i navigate to "https://username.github.io/app-name/home" i get a "404 file not found" error.
I have followed the recommended steps for deploying a React application to GitHub Pages, including setting the homepage field in package.json, configuring the basename property in the Router component, and using the gh-pages package for deployment. Despite following these steps, I have been unable to resolve the issue.
I have attempted various troubleshooting steps, such as verifying file paths, checking console errors, and ensuring dependencies are installed correctly. However, the issue persists.
Beta Was this translation helpful? Give feedback.
All reactions