Comments (7)
i think you have to do that manually
from react-gh-pages.
Hi @fotoflo,
Do you mean that, when you visit your app's URL after you deploy a new version of your app, your web browser still shows you the previous version of your app?
I have thought of two reasons for which that might be happening:
- The Service Worker (enabled by default in at least some versions of
create-react-app
) is serving the previous version of your app. I think you can work around this by reloading the page once. More information is available in this GitHub Issue in thecreate-react-app
repo. - The web server (i.e. GitHub Pages) is still serving the previous version of the app. You can work around this by waiting for some time (e.g. 30 seconds) and then visiting the page. More information is available in GitHub Issues #2 and #5 in this repo.
from react-gh-pages.
I follow your steps but, when the page load I think the webpack bundle process didn't run, the css is available but not my bundle.js components, here's my repo https://crisecheverria.github.io/peregrino/
from react-gh-pages.
@crisecheverria I think you are missing this https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#building-for-relative-paths
from react-gh-pages.
Thanks @AbhishekCode four your reply,
Already have
"homepage": "https://crisecheverria.github.io/peregrino",
Still not working, also completely removed Links, Routes and more... just for test, and also didn't work
from react-gh-pages.
Hi @crisecheverria,
I visited the URL you provided and don't see anything indicative of an issue.
If you are still having an issue, I recommend you open a separate Issue on this repository (assuming you think the issue is related to this repository).
from react-gh-pages.
Closing because I have not heard back from @fotoflo in 3 weeks.
from react-gh-pages.
Related Issues (20)
- React docs no longer recommend `create-react-app` HOT 3
- code is deployed but not showing content HOT 2
- Create example issue using new "Help" template
- Deploy script does not automatically build
- Tutorial does not indicate that Vite would store the build in `dist` instead of `build` HOT 2
- Blank website after deploying with gitpages HOT 2
- Blank Page after deployment HOT 16
- Github Pages Failed to load resource: The server responded with a status of 404 () HOT 2
- Deleting history of past commits with GitHub pages HOT 4
- Translate instructions into traditional Chinese (offer) HOT 4
- Failed to create `gh-pages` branch HOT 3
- App deploys successfully but rendering empty page (Unexpected Token) HOT 2
- Routing works locally, but not on GitHub Pages HOT 2
- Best way to push ongoing changes HOT 3
- Storing API keys in client side web apps, even at build time, exposes those API keys to users HOT 1
- Translate instructions into Spanish HOT 2
- React BrowserRouter doesn not work in github page
- Indonesian Translation
- I am getting a blank page HOT 2
- Blank page on deployment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-gh-pages.