We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Fan of the project! I was attempting to use this dependency on an ES6, Typescript Lambda and was facing some issues during runtime.
It appears the failure-lambda project uses the V2 of the AWS SDK behind the scenes? There is a suggestion to use V3.
I was seeing this in my test for the main handler:
241 | 242 | Require stack: 243 | node_modules/failure-lambda/lib/failure.js 244 | src/api/api-handler.ts 245 | spec/api/api-handler.spec.ts
`
And I think the issue was that is that SDK v2 is not included in the runtime as my lambda runtime is nodejs18.x .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Fan of the project! I was attempting to use this dependency on an ES6, Typescript Lambda and was facing some issues during runtime.
It appears the failure-lambda project uses the V2 of the AWS SDK behind the scenes? There is a suggestion to use V3.
I was seeing this in my test for the main handler:
`
Cannot find module 'aws-sdk' from 'node_modules/failure-lambda/lib/failure.js'
241 |
242 | Require stack:
243 | node_modules/failure-lambda/lib/failure.js
244 | src/api/api-handler.ts
245 | spec/api/api-handler.spec.ts
`
And I think the issue was that is that SDK v2 is not included in the runtime as my lambda runtime is nodejs18.x .
The text was updated successfully, but these errors were encountered: