尝试部署Firebase函数部署错误:无法配置触发器 [英] Trying to deploy firebase functions Deploy Error: Failed to configure trigger

查看:192
本文介绍了尝试部署Firebase函数部署错误:无法配置触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的云功能用于工作。
现在我已经尝试过部署云计算功能,并得到了:

错误:

 ⚠函数[limitTasksPerCreatorFirestore]:部署错误:无法配置触发器providers/cloud.firestore/eventTypes/document.create@firestore.googleapis.com(limitTasksPerCreatorFirestore)
⚠函数[sendEmail]:部署错误:无法配置触发器providers/cloud.firestore/eventTypes/document.write@firestore.googleapis.com(sendEmail)

我的 package.json

 @ google-cloud / firestore:0.8.1,
firebase-admin:5.4.2,
firebase-functions:0.7.1 ,
nodemailer:4.2.0


解决方案

我有同样的问题,现在已经由firebase团队解决了。

来自firebase的懈怠:


eob [12:32 AM]
使用Firestore触发器部署函数的问题。我们相信我们现在已经确定并解决了这个问题,现在已经将修复工作全面展开。再次抱歉。


我现在测试了,我的功能再次部署!


My cloud functions use to work. Now I've tried deploying cloud functions and I got:

Error:

⚠  functions[limitTasksPerCreatorFirestore]: Deploy Error: Failed to configure trigger providers/cloud.firestore/eventTypes/document.create@firestore.googleapis.com (limitTasksPerCreatorFirestore)
⚠  functions[sendEmail]: Deploy Error: Failed to configure trigger providers/cloud.firestore/eventTypes/document.write@firestore.googleapis.com (sendEmail)

My package.json:

"@google-cloud/firestore": "0.8.1",
"firebase-admin": "5.4.2",
"firebase-functions": "0.7.1",
"nodemailer": "4.2.0"

解决方案

i had the same problem, and it has now been resolved by the firebase team.

from the firebase slack:

eob [12:32 AM] Firebase dev here again with an update on the problems deploying Functions with Firestore triggers. We believe we have now identified and fixed the problem, with the fix now fully rolled out. Apologies again for the disruption.

i tested now, and my functions are deploying again!

这篇关于尝试部署Firebase函数部署错误:无法配置触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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