首页 > 解决方案 > Firebase 登录问题

问题描述

有人可以帮我吗这是我第一次使用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.

标签: firebasefirebase-cli

解决方案


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


推荐阅读