-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
Converted my methods from database to firestore and updated admin to 5.4.1 and functions to 0.7.0
Getting:
Error: Error occurred while parsing your function triggers.
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/private/var/folders/cd/yldp31gs2997jqshrhy0_18c0000gn/T/fbfn_127862yZdNPUPHJDZ/node_modules/firebase-functions/lib/index.js:28:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Where line 28 from that file is:
const analytics = require("./providers/analytics");
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels