Git Product home page Git Product logo

skill-sample-nodejs-first-skill's Introduction

Workshop Building A Simple Skill

This workshop is designed to teach you how to learn the core fundamentals of building an Alexa skill.It is modular so if you know the basics you can skip to the module that interests you the most. In this repository you will find the necessary JSON and code files for each module.

Step-by-step Instructions

You can get started here: Tutorial: Build an Engaging Alexa Skill

The Skill

Cake time is a skill that celebrates your birthday! Tell it your birthday to have it count down the days. Interact with the skill on your special day to hear a happy birthday message.

What You'll Learn

Workshop

Community Resources

License

This library is licensed under the Amazon Software License

skill-sample-nodejs-first-skill's People

Contributors

akersh-s avatar aszk avatar azifarjad avatar bbezerra82 avatar franklin-lobb avatar joemocode avatar jpeddicord avatar kunalhsatoz avatar letmypeoplecode avatar muttoni avatar nachawat avatar sleepydeveloper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skill-sample-nodejs-first-skill's Issues

"Create an Alexa Skill in 5 Minutes" documentation missing steps

Hello I am working through the tutorial for this skill. I am currently on step three, "Create a Skill in Five Minutes": https://developer.amazon.com/en-US/alexa/alexa-skills-kit/get-deeper/tutorials-code-samples/build-an-engaging-alexa-skill/module-3. While doing so, I have noticed that a step is missing/incorrect.

When a new skill is created, it is set with the invocation "change me". In order for Step 4c to work, the invocation needs to be changed to "cake time".

Error adding persistence

I get the following error when I try to add the persistence to my functioning code from Module 4.
Unable to import module 'index': Error
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/var/task/index.js:5:28)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

Adding the persistence line to the package.json file works fine, but seems to have no effect. Once I then add the very first line that references it
const persistenceAdapter = require('ask-sdk-s3-persistence-adapter');
in the index.js file causes the error to occur.

memory is not deleted if skill is re-created in same account

i create "birthday wishes" and while testing enter birthday.
Then I deleted "cake walk one".

I created "cake walk" ; while testing it's giving old message. "Welcome back. It looks like there are xxx days until your xxxth birthday."

Also text changed in languageString.js is not working; it's showing old text.

Error when skill try get user timezone

I am testing the skill with "pt-br", I have an error when it tries to get the timezone, it's going into the catch and triggering :

if (error.name !== 'ServiceError') {
                return handlerInput.responseBuilder.speak("There was a problem connecting to the service.").getResponse();
            }

It's necessary to add this .withApiClient(new Alexa.DefaultApiClient()) in the exports.handler section.

This should be included in the page https://developer.amazon.com/en-US/alexa/alexa-skills-kit/resources/training-resources/cake-walk/cake-walk-5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.