serverless-coffee-workshop
serverless-coffee-workshop copied to clipboard
SanitizeOrderLambda is not working
Error on invoke SanitizeOrderLambda
How to reproduce: Invoke SanitizeOrderLambda from Serverlesspresso event bus test or Invoke SanitizeOrderLambda directly from Lambda console test page
Expected Result: Lambda return boolean (true or false)
Current Result: Got exception:
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'dynamodb-data-types'\nRequire stack:\n- /var/task/app.js\n- /var/runtime/UserFunction.js\n- /var/runtime/Runtime.js\n- /var/runtime/index.js",
"trace": [
"Runtime.ImportModuleError: Error: Cannot find module 'dynamodb-data-types'",
"Require stack:",
"- /var/task/app.js",
"- /var/runtime/UserFunction.js",
"- /var/runtime/Runtime.js",
"- /var/runtime/index.js",
" at _loadUserApp (/var/runtime/UserFunction.js:225:13)",
" at Object.module.exports.load (/var/runtime/UserFunction.js:300:17)",
" at Object.
Hi, could you please check if this still error occurs with the latest version?