AWS Lambda – cannot find module (based on handler)

Error in the Execution Result <pre> Response: {   "errorType": "Runtime.ImportModuleError",   "errorMessage": "Error: Cannot find module 'decode-verify-jwt'", Response: {   "errorType": "Runtime.ImportModuleError",   "errorMessage": "Error: Cannot find module 'decode-verify-jwt'", </pre> and also the following text appears: <pre>        Lambda can't find the file decode-verify-jwt.js. Make sure that your handler upholds the format: file-name.method. </pre> Solution I uploaded the […]

Recent Posts

Archives

Categories

Meta

All Rights Reserved Theme by 404 THEME.