Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SanitizeOrderLambda is not working #48

Open
khairulhabibataws opened this issue Aug 18, 2023 · 1 comment
Open

SanitizeOrderLambda is not working #48

khairulhabibataws opened this issue Aug 18, 2023 · 1 comment
Assignees

Comments

@khairulhabibataws
Copy link

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. (/var/runtime/index.js:43:34)",
" at Module._compile (internal/modules/cjs/loader.js:1114:14)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)",
" at Module.load (internal/modules/cjs/loader.js:979:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:819:12)",
" at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)",
" at internal/main/run_main_module.js:17:47"
]
}

@bfreiberg
Copy link
Collaborator

Hi, could you please check if this still error occurs with the latest version?

@bfreiberg bfreiberg self-assigned this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants