Firebase 将我的功能部署到Google云时出现问题

Firebase 将我的功能部署到Google云时出现问题,firebase,google-cloud-platform,google-cloud-functions,Firebase,Google Cloud Platform,Google Cloud Functions,我在将我的功能部署到Google Cloud时遇到问题: Firebase CLI中的显示方式和消息: + functions: Finished running predeploy script. i functions: ensuring necessary APIs are enabled ... + functions: all necessary APIs are enabled i functions: preparing functions director

我在将我的功能部署到Google Cloud时遇到问题:

Firebase CLI中的显示方式和消息:

+ functions: Finished running predeploy script. i functions: ensuring necessary APIs are enabled ... + functions: all necessary APIs are enabled i functions: preparing functions directory for uploading ... i functions: packaged functions (85.85 KB) for uploading + functions: functions folder uploaded successfully i functions: current functions in project: Backup (us-central1), DashBoard (us-central1), dialogflowFirebaseFulfillment (us-central1) i functions: uploading functions in project: DashBoard (us-central1), Backup (us-central1) i functions: updating Node.js 10 (Beta) function DashBoard (us-central1) ... i functions: updating Node.js 10 (Beta) function Backup (us-central1) ... ! functions [DashBoard (us-central1)]: Deployment error. Failed to initialize region (action ID: f22869a1fe22aba0): Error when configuring GCS bucket gcf-sources-366403583884-us-central1 in project testechatbot-2020. Cause: The billing account for the owning project is disabled in state absent ! functions [Backup (us-central1)]: Deployment error. Failed to initialize region (action ID: 2e3bfdf4820819aa): Error when configuring GCS bucket gcf-sources-366403583884-us-central1 in project testechatbot-2020. Cause: The billing account for the owning project is disabled in state absent +功能:已完成运行predeploy脚本。 i功能:确保启用必要的API。。。 +功能:启用所有必要的API i函数:正在准备要上载的函数目录。。。 i函数:用于上载的打包函数(85.85 KB) +功能:已成功上载功能文件夹 i功能:项目中的当前功能:备份(us-central1)、仪表板(us-central1)、dialogflowFirebaseFulfillment(us-central1) i功能:上传项目中的功能:仪表板(us-central1)、备份(us-central1) i功能:更新Node.js 10(测试版)功能仪表板(us-central1)。。。 i功能:更新Node.js 10(测试版)功能备份(us-central1)。。。 ! 功能[仪表板(us-central1)]:部署错误。 未能初始化区域(操作ID:f22869a1fe22aba0):在项目testechatbot-2020中配置GCS bucket gcf-sources-366403583884-us-central1时出错。原因:所属项目的帐单帐户在缺席状态下被禁用 ! 功能[备份(us-central1)]:部署错误。 未能初始化区域(操作ID:2e3bfdf4820819aa):在项目testechatbot-2020中配置GCS bucket gcf-sources-366403583884-us-central1时出错。原因:所属项目的帐单帐户在缺席状态下被禁用 Firebase控制台上的显示方式和消息:

Backup {"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":7,"message":"Failed to initialize region (action ID: e0e457da63bedd16): Error when configuring GCS bucket gcf-sources-366403583884-us-central1 in project testechatbot-2020. Cause: The billing account for the owning project is disabled in state absent"},"authenticationInfo": DashBoard {"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":7,"message":"Failed to initialize region (action ID: 243073b0e1959dc3): Error when configuring GCS bucket gcf-sources-366403583884-us-central1 in project testechatbot-2020. Cause: The billing account for the owning project is disabled in state absent"},"authenticationInfo": 备份 {“@type”:“type.googleapis.com/google.cloud.audit.AuditLog”,“status”:{“code”:7,“message”:“初始化区域失败(操作ID:e0e457da63bedd16):在项目testechatbot-2020中配置GCS bucket gcf-sources-366403583884-us-central1时出错。原因:所属项目的计费帐户在缺少状态下被禁用”},“authenticationInfo”: 仪表板 {@type:“type.googleapis.com/google.cloud.audit.AuditLog”,“状态:{“代码”:7,“消息”:“初始化区域失败(操作ID:243073b0e1959dc3):在项目testechatbot-2020中配置GCS bucket gcf-sources-366403583884-us-central1时出错。原因:所属项目的计费帐户在缺少状态下被禁用”},“authenticationInfo”: 从消息中可以看到“原因:所属项目的账单帐户在缺席状态下被禁用。”


@Doug已经给出了正确的下一步联系Firebase,因为本论坛无法深入了解它。

我是Stack Overflow新手,因此我无法将问题标记为重复或评论,因此我在此再次回答:

Node.js 8 Firebase云功能目前正在逐步淘汰,如下所示: Node.js 8最近被Node.js标记为“生命终结” 基金会:< /P> Node.js 8功能的部署将在2021年2月15日后停止, 部署的Node.js函数将在3月15日后停止执行, 2021年

如果您最近切换到Node.js 10 Firebase云函数, 这些需要Blaze随用随付计费计划和Firebase CLI版本≥ 8.1.0.使用无火花层,您无法部署 Node.js 10 Firebase云函数

错误消息“原因:所属项目的帐单帐户” “在缺席状态下被禁用”提供了导致 这个问题


(我对重复问题的回答)。

您应该注意错误消息:“拥有项目的账单帐户在缺席状态下被禁用”。如果您对此感到惊讶,请联系Firebase支持。您可能已升级到节点10,因为您收到通知,指出节点8将被淘汰。我知道这就是我所做的,几周前一切正常。现在,他们将免费计划限制在节点8,因此我必须通过在我的云功能中编辑package.json恢复到节点8ns项目。这里提到了Spark计划的这一限制