我正在关注GitHub上的Alexa Trivia技能教程( https://github.com/alexa/skill-sample-nodejs-trivia ),我按照说明操作,在测试过程中,我找不到 Remote Endpoint ... < / em>所以我在AWS Lambda中做了进一步的测试,我得到了以下错误:
{
"errorMessage": "Cannot find module './question'",
"errorType": "Error",
"stackTrace": [
"require (internal/module.js:20:19)",
"Object. (/var/task/index.js:16:19)",
"Module._compile (module.js:570:32)",
"Object.Module._extensions..js (module.js:579:10)",
"Module.load (module.js:487:32)",
"tryModuleLoad (module.js:446:12)",
"Function.Module._load (module.js:438:3)"
]
}
AWS Lambda代码的链接是: https://github.com/alexa/skill-sample-nodejs-trivia/blob/master/lambda/custom/index.js
任何帮助都将受到极大的关注!
由于
Anush