I logged into Google Cloud Shell and found that that the Firebase CLI is already installed.
I then tried to run "firebase list" to see that it was working and was prompted to login.
"Visit this URL on any device to log in:" <very long URL>
I copy/pasted the URL into a browser and got the standard "Firebase CLI would like to:" prompt from Google but when I approved it by clicking the "Allow" button, it failed.
This is the error page that showed.
This site can’t be reached
localhost refused to connect.
Search Google for localhost 9005
ERR_CONNECTION_REFUSED
In the Firebase console, open the Auth section. On the Sign in method tab, enable the Google sign-in method and click Save.
Yes! Firebase is Google's mobile development platform that empowers you to quickly build and grow your app. It's built so that you're able to easily pull in Google Cloud products as your team or infrastructure needs grow.
Make sure that you're signed into Firebase using the same Google account that has access to the project.
Run the following command in your terminal:
firebase login --no-localhost
This will return a url that you can copy in the browser. After completing the steps, you'll receive back a code which you paste in the terminal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With