如何解决无法登录Firebase,并尝试多次
我目前正在学习Angular,我必须使用firebase 项目的数据库。但是当我尝试通过命令登录Firebase时, 我遇到了一些错误,并且不知道如何解决,任何朋友都可以 点亮我???认为。
C:\Users\AA\oshop>firebase --debug login
i Firebase optionally collects CLI usage and error reporting information to help improve our products. Data is collected in accordance with Google's privacy policy (https://policies.google.com/privacy) and is not used to identify you.
? Allow Firebase to collect CLI usage and error reporting information? Yes
i To change your data collection preference at any time,run `firebase logout` and log in again.
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=89097084&redirect_uri=http%3A%2F%2Flocalhost%3A9005
Waiting for authentication...
[2020-08-11T06:49:33.241Z] >>> HTTP REQUEST POST https://accounts.google.com/o/oauth2/token
{"code":"4/2wFU64v9-eQf2E2LL80_60qSQf_7e21uFY_xXAg4bm8pdYz6jvhXyCpb6dbsPodVWqB-A8NaSt30An3qT3IPdZ0","client_id":"563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com","client_secret":"j9iVZfS8kkCEFUPaAeJV0sAi","redirect_uri":"http://localhost:9005","grant_type":"authorization_code"}
[2020-08-11T06:49:54.259Z] Token Fetch Error: FirebaseError: Server Error. connect ETIMEDOUT 172.217.160.77:443
at Request._callback (C:\Users\AA\AppData\Roaming\npm\node_modules\firebase-tools\lib\api.js:32:31)
at self.callback (C:\Users\AA\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request.EventEmitter.emit (domain.js:482:12)
at Request.onRequestError (C:\Users\AA\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:877:8)
at ClientRequest.emit (events.js:315:20)
at ClientRequest.EventEmitter.emit (domain.js:482:12)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at TLSSocket.EventEmitter.emit (domain.js:482:12)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。