alexa-samples / skill-sample-nodejs-adventure-game

This tool provides an easy to use front-end that allows developers to instantly deploy code for your story, or use the generated code as a starting point for more complex projects.
Apache License 2.0
510 stars 218 forks source link

Could not open file: /index.js #65

Closed JofCla closed 6 years ago

JofCla commented 6 years ago

I ziped the custom files and uploaded it in the lambda function part but I have this message and it won't work. "The file index.js could not be found. Make sure your handler upholds the format: file-name.method." I just uploaded the files and didn't chage any name.

Any idea of what I did wrong please? Thank you.

franklin-lobb commented 6 years ago

This most commonly happens when your files are inside a folder within the zip file rather than being in the root of the zip file.

franklin-lobb commented 6 years ago

@JofCla if you're still having problems, please reopen the issue.

aoboaten1 commented 5 years ago

Having the same problem

aaronskudder1 commented 4 years ago

I have the same problem. I try put index.js in root and node modules in folder under root. It still no work