dmhacker / alexa-youtube-skill

Allows Alexa to play audio from YouTube videos
MIT License
243 stars 109 forks source link

Lambda invvocation error #10

Closed Vikulguptas closed 7 years ago

Vikulguptas commented 7 years ago

START RequestId: ce61e347-8532-11e7-98d6-013b034f9a64 Version: $LATEST Unable to import module 'index': Error at Module.require (module.js:497:17) at require (internal/module.js:20:19)

When I try to use the skill after following ur instructions i get the above error .

dmhacker commented 7 years ago

Are you using the correct zip file? And what is your Node version?

Vikulguptas commented 7 years ago

I downloaded the file from the github https://codeload.github.com/dmhacker/alexa-youtube-skill/zip/master

dmhacker commented 7 years ago

Ah, the file you are uploading is actually nested. Try using this link: https://github.com/dmhacker/alexa-youtube-skill/blob/master/alexa-youtube-skill.zip?raw=true

Vikulguptas commented 7 years ago

let me try that and get back to you .

Vikulguptas commented 7 years ago

works now. It has glitches like when i ask it to search youtube for despactio, it doesn;t do anything and comesout. Prince works , and other songs work too

Vikulguptas commented 7 years ago

Thanks dmhacker.

dmhacker commented 7 years ago

No problem! That's strange with Despacito because I just tried it on my machine and it worked ... maybe refine your query? Anyway, glad it works now. :) Always happy to help.