I am following the docs for:
Here is a link to the CountDown.1.json file.
I added the following to project.js:
module.exports = {
alexaSkill: {
nlu: {
name: 'alexa',
lang: {
en: ['en-US'],
},
},
manifest: {
apis: {
custom: {
tasks: [
{
name: 'CountDown',
version: '1',
},
],
},
},
},
},
And when that builds, it is added to skill.json:
"apis": {
"custom": {
"endpoint": {
"sslCertificateType": "Wildcard",
"uri": "https://webhook.jovo.cloud/42exxx"
},
"tasks": [
{
"name": "CountDown",
"version": "1"
}
]
}
},
First, I executed the following command:
jovo deploy -p alexaSkill --stage local -t info
The command executed with no errors, but then when I tried to execute this command:
ask smapi get-task -s amzn1.ask.skill.c27xxx --task-name amzn1.ask.skill.c27xxx.CountDown --task-version 1
I got this message:
[Error]: {
"message": "No task details for given name and taskVersion found."
}
But when I execute this command:
jovo deploy -p alexaSkill --stage local
I get the following error:
jovo deploy: Deploys the project to the voice platform.
>> Learn more: https://jovo.tech/docs/cli/deploy
> Deploying Alexa Skill (stage: local)
↓ Updating Alexa Skill project for ASK profile myprofile [skipped]
→ Endpoint: https://webhook.jovo.cloud/42exxx
> Deploying Interaction Model, waiting for build
× en-US
Enabling skill for testing
» Error: There was a problem:
»
» [ERR] smapiUpdateInteractionModel:Interaction model is not valid.
»
» Module: jovo-cli-platform-alexa
» Hint: InvalidTaskManifestEntry: Definition for tasks in skill manifest not found: <[amzn1.ask.skill.c27xxx.CountDown/1]>.
»