受邀的 firebase 项目所有者无法部署云功能
Invited owner of firebase project can't deploy cloud functions
我有一个 Firebase 项目,我邀请了一位开发人员作为所有者。他收到了电子邮件并接受了邀请。然而,他无法将功能部署到该项目。他还尝试了不同的互联网连接。它因以下错误而失败....
!功能:上传错误:服务器错误。读取 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 自动生成的简单函数 command.This 是 index.js 文件包含的内容..
const functions = require("firebase-functions");
exports.helloWorld = functions.https.onRequest((request, response) => {
response.send("Hello from Firebase!");
});
我所在国家/地区的 google api link 出现问题。由于某些原因,这些 google API 在这里被屏蔽了。
我有一个 Firebase 项目,我邀请了一位开发人员作为所有者。他收到了电子邮件并接受了邀请。然而,他无法将功能部署到该项目。他还尝试了不同的互联网连接。它因以下错误而失败....
!功能:上传错误:服务器错误。读取 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 自动生成的简单函数 command.This 是 index.js 文件包含的内容..
const functions = require("firebase-functions");
exports.helloWorld = functions.https.onRequest((request, response) => {
response.send("Hello from Firebase!");
});
我所在国家/地区的 google api link 出现问题。由于某些原因,这些 google API 在这里被屏蔽了。