I looked at the link you suggested, and this worked:
The simplest Thing you can try is
go to : C:\Windows\System32
- going folder C in your system
- then select Windows Folder
- select ‘System 32’ folder
- open command prompt by typing ‘cmd’ in the File path bar and press enter
- cmd window opens
- type “firbase login” now and follow the steps
Thanks!! Please mark this as resolved
My questions was unfinished because I thought I had solved it myself.
I am running VS code in Windows 10.
After entering the URL on page 120 and the waiting for authentication appears, I get an error that “An unexpected error has occurred.” Despite receiving that error I then head to the designated URL and after allowing google access to the Firebase CLI, my browsers have the following error:
localhost refused to connect.
Google is my default web browser, but I have copied the URL and tried it in Edge and Opera with the same results.
I then tried every solution I could find to the “localhost refused to connect” error and have never been able to get beyond that error on the browsers. I am not using a proxy server and I have tried completly disabling my firewall in bitdefender and even uninstalled bitdefender. I completely disabled the firewall that Windows 10 provides with the same results. I have changed my DHCP providers on my router. I have tried “flushing my DNS via a command prompt and within my browsers. I welcome any suggestions.
Thanks in advance,
I don’t know how to solve that issue, but I found a discussion with a similar problem.
See this response and let me know if that solves the issue: https://github.com/firebase/firebase-tools/issues/1442#issuecomment-505974243