You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running jovo deploy:code --stage prod serverless --debug should give an explicit error.
We could check if process.argv[3] == "serverless" and if it's not, raise the error.
Something like that:
$ jovo deploy:code --stage prod serverless --debug
Please run jovo deploy:code serverless <parameters>, we don't support parameters before "serverless"
Current Behavior
Running jovo deploy:code --stage prod serverless --debug will execute serverless deploy prod serverless --debug which is not a supported syntax by serverless.
Solutions
Error log
$ jovo deploy:code --stage prod serverless --debug
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.
Your Environment
Jovo CLI version used: 4.1.9
Jovo Target-Serverless: 4.1.8
Operating System: Mac (sadly)
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Code
jovo-cli/integrations/target-serverless/src/hooks/DeployHook.ts
Lines 68 to 69 in 065df27
Expected Behavior
Running
jovo deploy:code --stage prod serverless --debug
should give an explicit error.We could check if
process.argv[3] == "serverless"
and if it's not, raise the error.Something like that:
Current Behavior
Running
jovo deploy:code --stage prod serverless --debug
will executeserverless deploy prod serverless --debug
which is not a supported syntax by serverless.Solutions
Error log
Your Environment
The text was updated successfully, but these errors were encountered: