-
Notifications
You must be signed in to change notification settings - Fork 408
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
Windows, Node.js
Firebase SDK version: latest firebase-admin = 10.2.0
Firebase Product: Cloud Functions (+ Auth, Firestore,...)
Node.js version: 16
NPM version: 8.1.0
[REQUIRED] Step 3: Describe the problem
I want to use TaskQueue with Cloud Functions as described here https://firebase.google.com/docs/functions/task-functions,
but neither firebase-functions SDK v3.21.1 nor firebase-admin SDK v10.2.0 has export for all described functions.
There is missing export for getFunctions in firebase-admin v10.2.0.
(Why is not TaskQueue related stuff present in firebase-functions SDK and we have to use two SDK in CF...that's another question.)
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Relevant Code:
import {getFunctions} from 'firebase-admin' - this will never work
BenJackGill