alexa_test_script.json requires update in patch 8
myrison opened this issue · 0 comments
Hi Pat - I noticed that the test script no longer works correctly in patch 8 (though the app itself works, the test script will mislead you into thinking it will not).
Error output from running test with this script in lamda console:
{
"errorType": "TypeError",
"errorMessage": "Cannot read property 'System' of undefined",
"trace": [
"TypeError: Cannot read property 'System' of undefined",
" at CustomSkill. (/var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:98:74)",
" at step (/var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:45:23)",
" at Object.next (/var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:26:53)",
" at /var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:20:71",
" at new Promise ()",
" at __awaiter (/var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:16:12)",
" at CustomSkill.invoke (/var/task/node_modules/ask-sdk-core/dist/skill/CustomSkill.js:79:16)",
" at Runtime.handler (/var/task/node_modules/ask-sdk-core/dist/skill/factory/BaseSkillFactory.js:102:27)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}