Firebase项目的受邀所有者无法部署云功能

时间:2020-05-14 00:02:05

标签: firebase google-cloud-functions firebase-tools

我有一个Firebase项目,我在其中邀请开发人员作为所有者。他收到电子邮件并接受了邀请。但是他不能为该项目部署功能。他还尝试了不同的Internet连接。失败并显示以下错误。...

!功能:上传错误:服务器错误。阅读ECONNRESET
错误:服务器错误。阅读ECONNRESET

firebase-debug.log

[debug] [2020-05-13T23:49:33.202Z] >>> HTTP REQUEST PUT https://storage.googleapis.com/gcf-upload-us-central1....
 <request body omitted>
[warn] !  functions: Upload Error: Server Error. read ECONNRESET
[debug] [2020-05-13T23:49:55.186Z] Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
[error] 
[error] Error: Server Error. read ECONNRESET

index.js文件包含一个简单的功能,该功能由 firebase init 命令自动生成。这就是index.js文件包含的内容。

const functions = require("firebase-functions");

exports.helloWorld = functions.https.onRequest((request, response) => {
  response.send("Hello from Firebase!");
});

0 个答案:

没有答案