cooldevil007 / alexa-VideoDemo

Created simple video skill to play 1 min video.
2 stars 1 forks source link

Module error #1

Open icepick3000 opened 6 years ago

icepick3000 commented 6 years ago

I copied your code to the alexa code builder but I get this error;

"errorMessage": "Cannot find module 'alexa-sdk'",

I noticed you included modules in your project.. but how do I upload then to the alexa code builder?

cooldevil007 commented 6 years ago

I have used Alexa CLI to create a template project and from there I have change the default template code with my own code. Video and audio skill can’t be created directly in lambda editor

On Mon, 12 Feb 2018 at 12:30 AM, icepick3000 notifications@github.com wrote:

I copied your code to the alexa code builder but I get this error;

"errorMessage": "Cannot find module 'alexa-sdk'",

I noticed you included modules in your project.. but how do I upload then to the alexa code builder?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cooldevil007/alexa-VideoDemo/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AFiOicdPIBUzc-TmexkShpPFUUggv6pGks5tTzjpgaJpZM4SBdSa .

icepick3000 commented 6 years ago

Okay I just installed the Alexa CLI. Is it just a matter of downloading your project as a zipfile and running a deploy?

cooldevil007 commented 6 years ago

Yes just clone my project and after that you have to run deploy but remember your ask should be configured with AWS account as well otherwise it won’t deploy your lambda code

On Mon, 12 Feb 2018 at 12:41 AM, icepick3000 notifications@github.com wrote:

Okay I just installed the Alexa CLI. Is it just a matter of downloading your project as a zipfile and running a deploy?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/cooldevil007/alexa-VideoDemo/issues/1#issuecomment-364778574, or mute the thread https://github.com/notifications/unsubscribe-auth/AFiOieCUW7kgGfOd7ge3GZWMZTXKrr83ks5tTztogaJpZM4SBdSa .

icepick3000 commented 6 years ago

Somewhere I am going wrong on this.. I did the following steps..

Downloaded your project as a zip file Unzipped it and cd't into the directory I run 'ask deploy'

I get this error; Error code: 401 { "message": "User is not authorized to access this skill." }

My ask init shows this (I setup the user for AWS);

screen shot 2018-02-12 at 19 17 18

Any ideas what I am doing wrong?