我的firebase部署不规律地卡在这个日志上:
i functions: updating function [FUNCTION NAME]...
取消部署后重试,出现以下错误信息:
⚠ functions: failed to update function resetBadgeCount
⚠ functions: HTTP Error: 400, An operation on function [FUNCTION NAME]
in region us-central1 in project [PROJECT NAME] is already in progress.
Please try again later.
看起来部署卡住了,阻塞了后续的部署。过了一会儿,我又能正常地部署函数了。
但是这是为什么呢?也许有解释吗?或者甚至有一个解决方法?