Wednesday, 2 August 2017

Building Alexa Skill, getting "cannot find module ./dist/commonjs/index.js" when testing in Lambda

Bear with me as I am an extreme beginner. I have all the files I need for the skill: index.js, package.json, node_modules, and speechAssets. I have zipped everything up using compress-archive in Windows PowerShell so as to avoid any permissions issues (maybe that is still an issue?) and uploaded the .zip to Amazon's Lambda. Upon testing, though, I get the error mentioned in the title. It comes from the index.js file located in i18next. The file path exists, so I'm stumped trying to solve this. Help is appreciated

Submitted August 02, 2017 at 10:26PM by jack3chu

No comments:

Post a Comment