gpt4 book ai didi

firebase - 将我的函数部署到 Google Cloud 时出现问题

转载 作者:行者123 更新时间:2023-12-04 16:39:38 27 4
gpt4 key购买 nike

我在将函数部署到 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

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":

最佳答案

我是 Stack Overflow 的新手,所以我无法将问题标记为重复或评论,所以我在这里再次回答:

Node.js 8 Firebase cloud functions are currently being phased out, asNode.js 8 was recently marked end as "end-of-life" by the Node.jsfoundation.

Deployment of Node.js 8 functions will stop after February 15, 2021,and executions of deployed Node.js functions will stop after March 15,2021.

If you've recently switched to Node.js 10 Firebase cloud functions,these require the Blaze pay-as-you-go billing plan and the FirebaseCLI version ≥ 8.1.0. Using the Spark free tier, you cannot deployNode.js 10 Firebase cloud functions.

The error message "Cause: The billing account for the owning projectis disabled in state absent" provides some information the cause ofthis issue.

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

关于firebase - 将我的函数部署到 Google Cloud 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63586019/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com