Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to log back in to firebase

To fix the error of my css not working I decided to resubmit the cloud build using gcloud builds submit --config cloudbuild.yaml .

to fix this error

gcloud crashed (PermissionError): [WinError 32] The process cannot access the file because it is being used by another process:

I decided to try the only answer on stack overflow to fix that error which was to log out and log back in.
This was the response I got when I tried to log in in the link that was provided in the terminal.

Oops! Firebase CLI Login Failed The Firebase CLI login request was rejected or an error occurred. Please run firebase login again or contact support if you continue to have difficulty logging in.

I am unable to login to firebase now but I do see this error constantly even in the login page 
! Unable to fetch the CLI MOTD and remote config.
would appreciate the help and I can give you any info that is needed.
I have spent a few hours trying to get chatgpt to help but it doesn't know anything.
This is a photo of my project directory

Thomas5636_0-1684145744460.png


Also this may be helpful in the future to anyone else experiencing this error.
Thanks
- Thomas




0 1 2,542
1 REPLY 1

Hi @Thomas5636,

Welcome to Google Cloud Community!

Try to run this 

 

firebase login --no-localhost

 

if this didn't work try to run 

 

firebase login --debug

 

You can also check if you are behind a proxy or firewall, another cause may also come from your current network which might interfere with Firebase.

Also make sure that you have an updated Firebase CLI, for more info check this document.