0👍
Your require statement is wrong (you’ve mixed the import syntax with require):
const functions = require('firebase-functions');
0👍
I managed to check my files and finally fixed my error. I have a lib folder that stores the transpiled ts to js. And I just fixed it there. IT turned out that the functions object was not read in js.
- [Vuejs]-How to dynamic change the background color of div using color picker/color swatches using VUE JS
- [Vuejs]-Vue Conditional Classes from Prop Variable
Source:stackexchange.com