Thanks, Nikunj for putting the wonderful article!
I need your help, I am getting below error although I have installed the external dependencies. Could you please help me to understand what am I missing?
TypeError: Cannot read property ‘Instances’ of undefined
When I uploaded the zip file AWS show me an error that said “unable to load /index.js file. Then when I run the function from cloudwatch I can see this error: Unable to import module ‘index’: Error
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)