Hi,
I am creating a Firebase Web App. I am at page 139. I tried the command http://localhost:5000 , but instead of appearing ESP Firebase App and a login button on the right hand side, a 404 page not found window is shown. I can’t figure out why an almost empty page appears since my index.html should show more elements. Any help would be appreciated.
Thanks in advance
Luix
Hi.
Did you try to hard refresh the web page?
Open the JavaScript console and check if you get any errors.
Regards,
Sara
Hi,
I don’t know what you mean with hard refresh and what the JavaScript console is.. If I double click on index.html and the file is displayed as it should, but I can’t figure out why 404.html is displayed rather than index.html since they are in the same place.
Regards,
Luix
Hard refresh the web page: https://www.documate.org/resources/what-is-a-hard-refresh-how-to-do-a-hard-refresh-in-any-browser
To open Javascript console: CTRL+SHIFT+J
Hi,
I tried hard refreshing but it didn’t work. The JavaScript console didn’t give me a clue to progress. I am stuck. The links are here.
Regards,
Luix
Hi,
Here you are, the image. I tried deploying and it works fine, but locally it doesn’t.
Regards,
Luix
Hi again.
From that printscreen everything seems fine.
I have no idea why it is not working.
What do you have in the firebase.json file and index.html files?
Hi,
The index.html file is yours with my credentials, here. The firebase.json file is here
Regards,
Luix
Hi.
Everything seems fine.
I have no idea what might be causing the issue.
I also find a similar discussion here, but I don’t think it will help much: https://stackoverflow.com/questions/38486069/firebase-not-running-index-html-file
I think the best way is to try to start from the beginning. Can you try starting a new Firebase project on VS Code from scratch? Maybe it was something during the project initialization….
Regards,
Sara