-
Notifications
You must be signed in to change notification settings - Fork 413
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
- Operating System version: _____
- Firebase SDK version: _____
- Firebase Product: admin
- Node.js version: _____
- NPM version: 6.13.3
Have tried with firebase-admin 8.8.0, 8.7.0, and 8.6.1 (the last 3 versions)
Running firebase-functions 3.3.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I'm getting this error when I try to deploy Cloud Functions. firebase deploy --only functions:FUNCTIONNAME
Any idea what the problem is? Anyone else have this issue?
Error: Error occurred while parsing your function triggers.
TypeError: instance.INTERNAL.registerComponent is not a function
at registerDatabase (/PATH/cloud-functions/functions/node_modules/firebase-admin/node_modules/@firebase/database/dist/index.node.cjs.js:15165:39)
at Object.<anonymous> (/PATH/cloud-functions/functions/node_modules/firebase-admin/node_modules/@firebase/database/dist/index.node.cjs.js:15196:5)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:22:18)
at FirebaseNamespace.get [as database] (/PATH/cloud-functions/functions/node_modules/firebase-admin/lib/firebase-namespace.js:282:38)
Reactions are currently unavailable