score:0
the issue might be that you should set homepage
, instead of homepage
with capital "h".
but in general, you may follow the steps here:
https://github.com/gitname/react-gh-pages
and this is the official guide:
score:0
as alixsep mentioned it could be with the upper case issue. use
"homepage": "https://jonathan929-del.github.io/jonathan-gym"
instead of
"homepage": "https://jonathan929-del.github.io/jonathan-gym"
in the package.json
if you mean to serve the index
page of your react app, change it to
"homepage": "."
index.js
:
app.use(express.static(__dirname)); //here is important thing - no static directory, because all static :)
app.get("/*", function(req, res) {
res.sendfile(path.join(__dirname, "index.html"));
});
Source: stackoverflow.com
Related Query
- I Have A Problem With Deploying My React App In Github Pages, It Shows Me A Blank Page
- Problem with relative path when deploying react app to a subfolder in GitHub pages
- Github pages still shows README after deploying React app
- Deploying React app with Parcel build on Github Pages
- React app deployment on github pages shows a blank page
- 404 Error on refresh with SPA React Router app in GitHub Pages
- Deploying react app on github pages front and backend in the same repository
- Deploying React App from Codesandbox to Github Pages
- Got a blank white page after deploying react app to gitlab pages
- `window.location.href` does not work on react app when deploying on github pages
- GitHub pages link returns blank page for React app
- I have problem with read promise from async function in my react app with
- React App renders blank page on Github Pages
- Faced Failed to load resource: the server responded with a status of 404 () when uploaded my react app to github pages
- Blank page when deploying React App to gh pages
- Deployed React app to github pages is blank
- Issue with publishing React app to Github pages
- My React App shows a blank white screen on localhost:3000 with no errors
- Getting error : "react-dom.production.min.js:216 TypeError: Object(...) is not a function" while deploying react app on github pages
- First Page of React App Blank when deployed using github pages
- React App just shows the starting page on Github pages
- i have a problem with react ,, i want to have 2 navbar styles in app
- Deploying Reactjs website on github pages with routing results in 404 error on refresh
- Getting blank page after react app publish in github
- Deploying react app with webpack
- ReactJS app published to Github pages with custom domain
- GitHub Pages not able to update index.html meta tags with create react app(CRA)
- React app build/deploy using github actions with secrets
- Deploying React App created by CRA (Create React App) to different ENVIRONMENTS, that have different URL PATHS?
- static HTML landing pages with Create React App
More Query from same tag
- How to create an array filter based on values of another array - React
- Puppeteer - how to use page.evaluateHandle
- 'flow property not found in props of react element' when is present for enzyme rendering of component
- Render component from a non react component
- How can i make component accepts elements inside?
- How to dispatch actions from Navigation bar in React
- onClick attribute for JSX react element not working as expected
- React, state, Why the `count` is not defined?
- Use .then() function on variable?
- How to call a component function on other component, but from the other component ? React
- send function to child component hooks
- web worker not communicating with react component
- Typescript JSX : Understanding Ant Design ProForm syntax
- Why is my React function not waiting for the SweetAlert confirmation?
- In reactjs dropdown, how to pass specific value and not whole array?
- How to in GraphQL mutation pass an array to a field using FaunaDB
- Send node response ten by ten when endpoint requested
- How to display items from firestore database in react
- How to access row's data via onClick in <td> element?
- React - How to properly pass and invoke functions that accepts parameters to a component
- How to code-split webpack's vendor chunk?
- React - Issue rendering component nested within a function
- How to push to array inside dynamic object using React Hooks?
- ReactJS - toggling a class from one component, force the other component to rerender
- How to get the changed (new) state value in React JS function with / without useEffect hook?
- TypeError: Class extends value undefined is not a constructor or null in react js
- Reach Router not showing correct component for matched url
- Sorting an array in React after every click issue
- how to remove wrapper div in react js?
- trying to identify variable that differentiate dev, prod and local