TypeError: Cannot read properties of null (reading 'length'). #1194
Unanswered
mouadessalim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to setup a firebase function with authentification trigger, i've followed the documentation but nothing work, i am using v1 functions because authentification trigger is not yet supported for v2. Here is my code :
I am getting a
TypeError: Cannot read properties of null (reading 'length')
in myfirebase-debug.log
The function seems to be packaged and uploaded successfully, but when creating the node.js function, it fails.
I am following this documentation : https://firebase.google.com/docs/functions/auth-events and this sample :
functions-samples/Node-1st-gen/quickstarts/email-users/functions/index.js
Line 45 in c4fde45
I've also tried multiple versions of
firebase-functions
andfirebase-admin
, here is mypackage.json
:Beta Was this translation helpful? Give feedback.
All reactions