-
Notifications
You must be signed in to change notification settings - Fork 417
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
Cannot find module 'aws-sdk' #1808
Comments
I misread the doc, so sdk v3 is supposed to be included. done, now it's just for advice and readme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a Feature Proposal
Description
I think new aws runtime does not support aws-sdk v2 any more for node.js v18 and higher
https://docs.aws.amazon.com/lambda/latest/dg/nodejs-package.html#nodejs-package-dependencies
I had the error message from the runtime below
It would be nice if the readme includes about the aws sdk versions and how to set the forceExclude option according to the lambda and sdk versions.
Similar or dependent issue(s):
Additional Data
Just removing
forceExclude
was also problematic, because I had some weird message likealthough the limit is supposed to be 250MB unzipped.
The text was updated successfully, but these errors were encountered: