I made an application and finished it, and wanted to upload it to firebase. When I type in the terminal "firebase deploy", everything appears fine, then the link to the site appears in the terminal normally.
But when I click on it to open the site, a message appears saying:
Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!
As you can see in the attached picture!
Make sure that index.html inside build folder and the one outside the build folder must be the same.
If they are same then try reloading after some time. When I was having the same issue it worked without doing anything and reloading after sometime (in my case around 10-15 minutes)
Here is a github issue that has detailed discussion on this.
https://github.com/coreui/coreui-react/issues/55
Related
I have received for maintenance a rather primitive react app hosted on firebase (developed by someone else). Now weird things are happening:
I change content of a file (even simple text change)
Run deploy (hosting) - I see in firebase console that deploy was successful
Still: page content is still old, without changes!
How can it be? I use Chrome incognito mode to ensure no cache on browser side, and Firebase docs say that deployment clear server cache.
Turns out it is about cache setttings of firebase. I've seen people wrote default it is about one hour (sic!) so I overridden the cache header settings as referenced and now it is immediately visible after publishing.
https://firebase.google.com/docs/hosting/manage-cache
I'm hosting a web app with Firebase hosting service.
I build my app and then deploy it using firebase command tools.
The build is successful and the firebase domain shows the update:
https://calmeet-a7271.firebaseapp.com/e/-KsC5suhESWNwzYw6rtq
But the connected domain doesn't show the update:
https://calmeet.co
You can see the difference in these two links by the Settings (cog) button on the top right. https://calmeet-a7271.firebaseapp.com/e/-KsC5suhESWNwzYw6rtq has the settings button while https://calmeet.co does not
I'm not sure what I'm doing wrong, I thought this would be automatic.
DNS seem to be working alright. I don't see any error in firebase
I had this same issue. It was caused by doing back to back ng-build and firebase deploy commands in the terminal.
Turns out chrome was caching my connected site. If I opened it in a different browser (safari) it would update. Another way to fix it in chrome is to clear recent browsing data by going to your browser toolbar, clicking More and then More Tools and then Clear Browsing Data.
Short answer, Clear caching browse and try again or open another browser.
Hope this help.
Just do a hard refresh (cmd + shift + r) on your website on Chrome. That worked for me.
I have run meteor in my applications 100 times, and my apps always render to localhost:3000. right now, though, on one specific app, my browser is blank. Ive hosted it locally before and I can host other applications. additionally, there are no console/terminal errors.
When I view page source, it's blank, but when I inspect elements, it's my code...
I pulled down a version of the project that I know worked on localhost, and I get the exact same thing.
What could be happening?
Try this, It worked for me:
cd to-your-app-dir
meteor npm install
meteor
Ensure that you have a route set for localhost:3000/.
See flow-router or iron-router.
Also double check what your app does during the onCreated() event of your template at localhost:3000/.
I am getting this weird error while setting up my cloud backend
when i deployed my app, the url Http://"app-id".appspot.com
is landing on this page
but the url http://1-dot-"app-id".appspot.com is lannding on the right page
everything else works and its not a welcome-file issue.
then in the developer console i tried to set the default version and it gives me a error.
They say its a temporary problem but i have tried this for 2 days...
Any suggestions ?
Found the solution after 3 days of googling and digging in settings.
This also works if your app engine project dosent have a default bucket.
go to the old developer console https://appengine.google.com/
goto main > versions and set the default version here.
the newer console didn't work for me !
Also,
goto application settings
scroll down completely till you see the title "Cloud intigration"
it reads: "Create a Google Cloud project as well as a Google Cloud Storage bucket and a new style service account for this application"
click create.
This option is not there in the newer console.
Keeps showing:
Please configure app/js/config.js before running!
I updated my Firebase URL in config.js, enabled email/password and anonymous login in Forge.
Even changed text in the above error msg to:
"TEST Please configure app/js/config.js before running!"
, in app.js -- and my modified text doesn't show up even. Why? I restarted the web server between changes.
node scripts/web-server.js
Crazy, I can't figure this out.
I figured this out. I also had the ZIP archive in my Trash folder on Mac OS, somehow my console was in my Trash path, (no friggin idea how it got there, as I never cd'd to it), hence changes to my main folder weren't getting detected by the web server running on my Trash folder. Stupid user error -)