Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gcloud functions deploy command failing with -

"textPayload": "Detailed stack trace: TypeError: functionModule.hasOwnProperty is not a function",
0 2 281
2 REPLIES 2

Hello denny1panera,

Can you provide more details about the error you were encountering?

It took a bit, but found out that it was because the function name and --entry-point values didn't match, with the deploy command. 

I believe the error was - ""textPayload""Detailed stack trace: TypeError: functionModule.hasOwnProperty is not a function" and it was not clear on what it was trying to say there.