Skip to content

Tag: aws-lambda

Uncaught exception in AWS lambda javascript

I am trying to elicit an intent from Amazon LEX through lambda but I was given an error calling uncaught exception. Would appreciate the help, my code is as follows: Answer The “uncaught exception” error usually means that a response is not being provided for the specific type of input. In your ca…

How to automatically zip files with Node.js and npm

Is there a way to automatically zip certain files at the build time with Node.js and npm? For example, I have a project, that file structure looks like this: I want to be able to zip lib folder, certain modules from node_modules and index.js into some zip archive to upload it on the AWS Lambda, for example. I…