79228185

Date: 2024-11-26 20:36:52
Score: 1
Natty:
Report link

If you're using firebase-functions v6.x.x, I think the issue here might be related to how firebase-functions is being imported. Starting firebase-functions v6.0.0, the default entry point of the package was changed to v2 instead of v1.

Since it looks like you're using a v1 function, could you try updating your code to explicitly import "firebase-functions/v1"? The updated code would look something like:

"const fireFunctions = require("firebase-functions/v1"); // Imports v1 functions"
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oluwadamilare Alonge