I made some changes to my project and then tried to deploy again. I did firebase init, then followed the usual steps, and then firebase deploy. The URL I was provided leads me to the page in the image below. What I am doing wrong?
Related
My Codemagic pipeline is configured to fetch sources from my repository, build web and publish it to Firebase hosting.
The build is each time successful, but the changes from my last commit are not there, so I assume that the publishing part somehow not woking properly.
In the logs though everything looks great, my last commit is fetched, and firebase logs say that deploy is complete with the link to the site and all. (see below)
How could I "Debug" this case, any ideas on what is wrong?
you can try following steps to debug such type of issues:
open site in incognito mode to ensure issue not related to browser cache
check Cache-Control and Date response headers for main.dart.js file to ensure you have properly configured cache behaviour in Firebase Hosting
https://firebase.google.com/docs/hosting/manage-cache
https://firebase.google.com/docs/hosting/full-config#headers
I hope it will help
I have just deployed my flutter app to the Firebase. When I go to the Hosting section on the firebase, I do see domains listed as .web.app and firebaseapp.com. However, when i open any of the links, instead of showing my application It takes me to this page which says -
Welcome Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting.
Now it's time to go build something extraordinary!
OPEN HOSTING DOCUMENTATION
How can i access my app and not this message which pops up everytime?
Okay so it looks like when you run Firebase init command, It kinds of rewrites your index.html and hence that page. All I had to do was this :
Run firebase init.
Define directory to build/web
Run flutter build web (and not at the start of this procedure)
Run firebase deploy.
I have created a project in firebase. I have also added an app in Admob with two banner ads. When I try to link this app to Firebase project, it always gives me this error :
Unable to link app to Firebase. Please refresh the page and try again.
I tried refreshing the page and link the firebase project but no luck. It suggests me the firebase projects to choose in the dropdown, but when I try to link to a specific project, it doesn't allow me to link.
The error you're seeing,
Unable to link app to Firebase. Please refresh the page and try again.
is the base case message, unfortunately. It means that an unusual error has occurred, one so uncommon that it doesn't have a message of its own.
One reason we have seen it come up for people is that they've linked their AdMob app to a Firebase project, then deleted that project without unlinking it. This leaves the AdMob app tied to the dead project and unable to be linked to a new one. If that might be the case for your app, try this workaround:
Log into the Google Cloud Console (http://console.developers.google.com/)
Restore your project from deletion by using the steps listed here: https://support.google.com/cloud/answer/6251787
Unlink that project from your AdMob app using these steps: https://support.google.com/firebase/answer/6387949
Link your AdMob app to a new project as normal.
typically this happens if the project owner in Firebase is not the same user as the AdMob user trying to do the linking.
I am trying to deploy a sample app from the tutorial on the Meteor website using the following line
meteor deploy simple-todos.meteor.com
but I get the following message:
Sorry, that site belongs to a different user.
You are currently logged in as valerierickert.
Either have the site owner use 'meteor authorized --add' to add you as an authorized
developer for the site, or switch to an authorized account with
'meteor login'.
Then I logged in and still got the same error. What am I doing wrong?
It simply means that someone already deployed a Meteor App at this address, which is not surprising because it's the name showcased in the official Meteor tutorial.
http://simple-todos.meteor.com/
You just need to choose another identifier like valerier-todos.meteor.com which is probably not taken at the moment.
I have deployed my first app to meteor.com. It is called evideo.meteor.com.
I gets empty page. But when deploying to my local machine deployment, it was fine.
It is an app that can load or take pictures/videos.
I enter your app website and open the console, finding that there are some errors. You might check it out.