Closed msintov closed 1 year ago
I am guessing this is copy-paste bug. To work around this, I created the fact skill lambda per the instructions, but I copied and pasted the correct code from skill-sample-nodejs-quiz-game/lambda/custom/index.js file (in this repo) into the fact lambda index.js via the Lambda console code editor (and click Save in the upper right). The fact Lambda has the ask-sdk-core module required by the quiz Lambda.
From what I can see there's no Serverless Application Repo for this skill setup on AWS, this is a bit of a barrier for people just starting out with Alexa so would be useful to fix.
I faced the same problem. What I did to workaround was this:
npm install
command and let npm download all the necessary modules in that directoryOf course, there should be a repository in Lambda itself but till the time Alexa folks upload it, you can use this workaround.
We removed AWS Lambda instruction.
The instructions in this repo tell the user to create a quiz game (for example, for US states by using https://github.com/alexa/skill-sample-nodejs-quiz-game/blob/master/models/en-US.json) but in the Lambda step, the user is told to use a Serverless Application Repository (alexa-skills-kit-nodejs-factskill) that instead provides facts about planets. I thought the intention was to replicate the "United States Quiz" as it says here: https://github.com/alexa/skill-sample-nodejs-quiz-game .