Firebase部署错误.执行环境中的故障 [英] Firebase Deployment error. Failure in the execution environment

查看:134
本文介绍了Firebase部署错误.执行环境中的故障的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将项目部署到Firebase时出现以下错误:

While deploying project to firebase getting following error:

Deployment error.
Failure in the execution environment

在某些功能中它随机发生.虽然某些功能可能一次失败,但是在另一次尝试中,它可能会正常运行,或者在某些不同功能下显示错误.

It happens randomly during some functions. While it may fail once for certain functions, on another attempt it might work without error or show error with some different functions.

请提出如何摆脱这种不可预测的Firebase行为的建议.

Please suggest how to get rid of this unpredictable Firebase behavior.

推荐答案

最近,在运行firebase deploy时,同样的问题开始出现在我身上.

The same issue started to happen for me recently when running firebase deploy.

要解决此问题,只需分别部署功能:

To work around it, just deploy functions separately:

firebase deploy --except functions
firebase deploy --only functions

我的假设是,一次部署所有内容时会遇到某种超时或限制.有关更多细粒度的选项,请参见有关部分部署的文档.

My assumption is that some sort of timeout or limit is hit when deploying everything at once. See the docs on partial deploys for more fine-grained options.

这篇关于Firebase部署错误.执行环境中的故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆