0

NOOB warning!

Creating a simple Lambda function that gets called for Amazona Alexa Intent. I cannot for the life of me get the basic Response module working.

Seems similar to this problem: node.js: cannot find module 'request'

Except that my error is:

{ "errorMessage": "Cannot find module 'index'", "errorType": "Error", "stackTrace": [ "Function.Module._load (module.js:276:25)", "Module.require (module.js:353:17)", "require (internal/module.js:12:17)" ] } 

Do I have to install more modules? I tried doing 'npm install index' into the same directory but that didn't help.

Please help! I'm wasting HUGE amounts of time with this... (is there a way to make a JSON API call from a Lambda function without this module??)

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.