Hi,
I’m trying to deploy Jovo v4 app to Azure Functions via serverless. But getting below error and can’t find the reason from the message.
$ npm run deploy:azure
> [email protected] deploy:azure
> jovo deploy:code serverless --stage prod-az
jovo deploy:code: Upload the source code to a cloud provider
>> Learn more: https://jovo.tech/docs/deploy-command#deploy-code
✔ Bundling your code
✖ Deploying to Serverless
x Error: --------------------------------------------------------------------------------
›
› Message:
› Serverless deployment failed.
›
› Module:
› ServerlessCli
›
›
› If you think this is not on you, you can submit an issue here: https://github.com/jovotech/jovo-cli/issues.
I am deploy sample serverless Azure Functions app without any error. So, the issue is not with the env setup.
I suspect the issue is with either my serverless config or something to do with my Azure implementation for Jovo 4.
serverless.yaml:
"service": "jovo4-test-app"
"frameworkVersion": "3"
"package":
"artifact": "./bundle.zip"
"provider":
"name": "azure"
"runtime": "nodejs12.x"
"functions":
"handler":
"handler": "index.handler"
Can someone please suggest? Thanks