-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase deploy blanc page #3496
Comments
@harrymelka hey did you find what happened with this? I followed tutorials that made it look simple but I just get a blank page. |
I came across this issue while searching for a solution to a problem that sounds similar to this. I have a create-react-app site that was previously deployed to Firebase just fine; however, after making some updates and re-deploying it, it no longer works. Everything generates into the |
@SSTPIERRE2 yes I found how to fix it. When you try to deploy your solution, verify that your build folder is the right one that you use when you are using the command to initialise your project. You can make some test by adding stuff like |
The issue for me was a bug in |
Hi @Herohtar - I'm trying to solve this same problem. I'm working through solutions that seem to have helped others, but not getting anywhere. What is the firebase-tools problem and how did you fix it? Or - do you think that problem no longer exists? |
@harrymelka - how did you solve the problem of the build/index.html not correctly reading from your src/index.html? I copied the src/index.html file over, because when i first initialised the fireabase app - it replaced my index.html with a firebase hosting notice. I realised then that the previous version of the build did not update when I changed the meta tags. But what can be done to solve that problem? |
@MincePie The issue that was causing the problem for me was a bug with the deploy caching in |
Hello,
I have met an issue with the firebase deployment. When I do the
firebase deploy
command everything works fine but when I go to the link from firebase, it shows a blanc page. I inspected it with chrome inspector and I see that this is my index.html but it doesn't go and root my real index.js page from my react project.Configuration React Project
firebase 4.2.0
react 16.1.1
react-router 3.2.0
redux 3.7.2
firebase.json
public/index.html
Source
I have been following :
https://gautamthapar.me/deploying-react-app-firebase/#comment-309
https://medium.com/@bensigo/hosting-your-react-app-with-firebase-hosting-add1fa08c214
The link that firebase give me after deploy: https://smartbatz-502a2.firebaseapp.com/
If you have any idea, thank you
The text was updated successfully, but these errors were encountered: