-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing export for functions and getFuncitons #1704
Comments
I found a few problems with this issue:
|
Hi @gitdast , You are correct, the right way to import
The default
See the reference docs for more information: |
@dastrouvy I’m not using Babel/ES6, do you know the similar syntax with |
@dastrouvy upgrading to firebase-admin to latest fixed the issue. |
Upgrading to the latest firebase-admin (11.1.0) allowed me to access the queueing functions it is incompatible with the latest firebase-functions (3.24.1). Breaking changes for me |
[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:
The text was updated successfully, but these errors were encountered: