aws-samples/aws-cognito-apigw-angular-auth

lambda.zip requires modules

LisaMc opened this issue · 0 comments

Overall the code works great on Node 10. Thanks! After some troubleshooting 401 errors with authenticating the users, I discovered the lambda functions were responding with a timeout error because 'dynamodb-doc' was not installed as a dependency. Creating a package.json file, running npm install, and swapping out the lambda.zip file fixed it.