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.