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/[email protected] (limitTasksPerCreatorFirestore)
⚠ functions[sendEmail]: Deploy Error: Failed to configure trigger providers/cloud.firestore/eventTypes/[email protected] (sendEmail)
My package.json
:
"@google-cloud/firestore": "0.8.1",
"firebase-admin": "5.4.2",
"firebase-functions": "0.7.1",
"nodemailer": "4.2.0"
The engines field is required; it must specify one of the supported Node. js versions in order for you to deploy and run functions. Currently firebase init functions sets this field to 16 .
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With