Sah*_*ndy 19 firebase google-cloud-functions
升级到节点 10 后,部署功能时遇到此错误
Cloud Functions deployment requires the pay-as-you-go (Blaze) billing plan.
Run Code Online (Sandbox Code Playgroud)
是不是降级节点至少能暂时解决问题,有没有不降级就解决问题的方法??
and*_*res 37
更改以下内容functions/package.json:
"engines": {
"node": "8"
}
Run Code Online (Sandbox Code Playgroud)
它应该解决问题(目前),官方文档。
特尔;博士:
- Node.js 10. 此运行时需要 Blaze 即用即付计费计划。该计划免费提供大量调用、计算时间和互联网流量。请参阅 Cloud Functions 定价。
- Node.js 8(自 2020 年 6 月 8 日起弃用)。2020 年 2 月 15 日之后将不再允许部署Node.js 8 函数。然后,已部署的Node.js 8 函数的执行将在 2021 年 3 月 15 日之后停止。如果您已将函数部署到 Node.js 8 运行时,建议您升级到 Node.js 10 运行时。
| 归档时间: |
|
| 查看次数: |
9294 次 |
| 最近记录: |