繁体   English   中英

Firebase 登录问题

[英]Issue with Firebase login

有人可以帮我吗这是我第一次使用 firebase。 我已经安装了节点 JS,更新了我的 npm 并运行了npm install -g firebase-tools当我尝试使用firebase login时,它给了我这个错误

Visit this URL on this device to log in:
https://accounts.google.com/o/oauth2/auth?client_id=563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com&scope=email%20openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloudplatformprojects.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ffirebase%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&response_type=code&state=618585556&redirect_uri=http%3A%2F%2Flocalhost%3A9005

Waiting for authentication...

Error: An unexpected error has occurred.

尝试在另一个浏览器中打开 URL,很可能您使用的浏览器不支持应用程序挂钩来调用应用程序。 谷歌浏览器是理想的。 如果失败,则可能是防火墙或插件干扰。

Visit this URL on this device to log in: https://accounts.google.com/o/oauth2/auth?client_id=563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com&scope=email%20openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloudplatformprojects.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ffirebase%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&response_type=code&state=618585556&redirect_uri=http%3A%2F%2Flocalhost%3A9005
    
    Waiting for authentication...
    
    Error: An unexpected error has occurred.

当你遇到这个错误时,你应该在你的环境变量路径中添加这个目录C:\Windows\System32比你好到 go

//此行适用于不知道如何 go 环境变量路径的人

点击“高级系统设置”。 单击“环境变量”。 在“系统变量”下,找到 PATH 变量 select,然后单击“编辑”。 如果没有 PATH 变量,请单击“新建”。 将您的目录添加到变量值的开头,然后是; (分号)。 ...单击“确定”。 重启你的终端。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM