今天早上,我尝试将我的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 TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38)
[error]
[error] Error: Server Error. certificate has expired
1
如果您在运行Firebase CLI与项目进行交互时遇到问题,请直接联系Firebase支持。 support.google.com/firebase/contact/support
—
道格·史蒂文森