action input “cancel” and error
Message:
this.getEndReason is not a function
{
"name": "CancelIntent",
"alexa": {
"name": "AMAZON.CancelIntent"
},
"phrases": [
"cancel",
"never mind",
"forget it"
]
},
{
"name": "StopIntent",
"alexa": {
"name": "AMAZON.StopIntent"
},
"dialogflow": {
"events": [ {
"name": "actions_intent_CANCEL"
}
]
},
"phrases": [
"stop"
]
},
Error -----------------------------------------------------------------
Message:
this.getEndReason is not a function
Stack:
TypeError: this.getEndReason is not a function
at GoogleAction.END (/Users/felix/Documents/pium/pium_ai_speaker/src/app.js:829:29)
at Function.applyHandle (/Users/felix/Documents/pium/pium_ai_speaker/node_modules/jovo-framework/src/middleware/Handler.ts:195:43)
at handle (/Users/felix/Documents/pium/pium_ai_speaker/node_modules/jovo-framework/src/middleware/Handler.ts:255:23)
Hint:
This might be an issue with upgrading the Jovo packages. Try to run jovo update
instead of npm install
Learn more:
https://www.jovo.tech/docs/installation/upgrading