Timeline for Cloud functions with firebase: firebase.functions is not a function
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 21, 2020 at 21:34 | comment | added | Borna | If using ES6 use this: import 'firebase/functions' | |
| Nov 4, 2019 at 3:11 | comment | added | udeep shrestha |
For those who are loading from CDN, include corresponding Firebase JS SDKs. For example, if firebase.functions() is undefined, then include firebase-functions.js from CDN as documented here firebase.google.com/docs/web/setup#libraries_CDN
|
|
| Aug 31, 2019 at 12:54 | comment | added | cfl | a "-" not / is seems const functions = require('firebase-functions'); | |
| Mar 25, 2018 at 20:48 | history | answered | B. Jack | CC BY-SA 3.0 |