alexa-samples / skill-sample-nodejs-fact

Build An Alexa Fact Skill
Apache License 2.0
1.15k stars 1.19k forks source link

Sample code in tutorial and Lambda code from template are not same #104

Closed hpj1992 closed 1 year ago

hpj1992 commented 5 years ago

Hi,

1) https://github.com/alexa/skill-sample-nodejs-fact/blob/master/instructions/2-lambda-function.md 2) Step 13 3) Linked here: https://github.com/alexa/skill-sample-nodejs-fact/blob/master/lambda/custom/index.js 4) Code in #4 should be available in Templates in Lambda. But that is not the case. 5) Code from lambda template is completely different. 6) Not easy to understand for the ASK customer/developer

chfw commented 5 years ago

I found the same.

First, I found the latest youtube video https://www.youtube.com/watch?v=QkbXjknPoXc after following a few out-dated medium tutorials.

But still, the youtube video is also out-dated . I have to copy and paste the lambda custom index.js to amazon lambda console to get it to work.

theNaut1lus commented 5 years ago

Is anyone still working on the or could I have a go? @franklin-lobb

niceguydave commented 5 years ago

Is anyone still working on the or could I have a go? @franklin-lobb

I'm sure @franklin-lobb would be happy for you to put out a PR 👍

dash-mode commented 5 years ago

Not exactly the same issue, but when I fork this repository into my github account, I get a different index.js. Please look into it.

aszk commented 1 year ago

We removed AWS Lambda function instruction. Please use the code form repository.