Firestore get function is not working, “is not a function” error
I’m new to firestore cloud functions. I’m trying to write a function that based on the change of one collection should be updated the data of another collection. I’m facing an issue on using the get function. It return “Exception from a finished function: TypeError: aggr_ingredient.data is not a function”. Can you check my code and point me out what I’m doing wrong?
Failed to load function definition from source: FirebaseError
I using firestore for study functions so when i went run that aplication appear this error, if this important, i use npx
“Failed to load function definition from source: FirebaseError: Functions codebase could not be analyzed successfully. It may have a syntax or runtime error”
firestore with cloud function: how to delete documentId from lists in other path?
I am building a sns type of app where user can write a post and other users can hit ‘like’ button to like the post.
This is data structure I have in firestore.
What is the meaning of `{userId}` in this Cloud Functions code sample?
I’m reading the documentation of Extend Cloud Firestore with Cloud Functions.