Questions tagged «firebase-cli»



7
firebase-tools“错误:证书已过期”
今天早上,我尝试将我的react项目部署到Firebase托管,但是收到以下错误消息: Error: Server Error. certificate has expired 然后,我尝试执行firebase list命令以查看项目列表,但再次收到相同的错误!我在其他项目上尝试了相同的结果。因此,我相信此错误与特定项目无关,并且与无关firebase-tools。这是错误日志: [debug] [debug] [2020-01-07T03:37:57.789Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] [debug] [2020-01-07T03:37:57.789Z] > authorizing via signed-in user [debug] [2020-01-07T03:37:57.792Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects [debug] [2020-01-07T03:37:58.566Z] Error: certificate has expired at TLSSocket.<anonymous> (_tls_wrap.js:1116:38) at emitNone (events.js:106:13) at TLSSocket.emit (events.js:208:7) at TLSSocket._finishInit (_tls_wrap.js:643:8) at …

2
Firebase项目初始化错误:未为此项目设置云资源位置
我试图找到这个问题的快速答案,但找不到任何东西。我试图设置一个Ionic应用程序以使用现有的Firebase项目,并且firebase init在Windows控制台中运行时收到以下消息: 错误:未为此项目设置云资源位置,但是您尝试在Cloud Firestore中执行的操作需要它。请参阅此文档以了解更多详细信息:https : //firebase.google.com/docs/projects/locations
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.