-
Notifications
You must be signed in to change notification settings - Fork 155
Bug: Unable to use ESM bundling in AWS Lambda / Nodejs 14.x #490
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
Comments
Thank you for reporting it. We will have a look asap. |
As reported by @dreamorosi, the issue is on xray-sdk side. We will follow aws/aws-xray-sdk-node#482 resolution carefully. |
I'm going to close this issue in favor of #521 where we will be tracking efforts to support ESM bundling in Powertools. |
|
Bug description
If you enable "ESM" bundling with NodejsFunction you get this error:
Expected Behavior
Would like to use xray with ESM.
Steps to Reproduce
I'm using middy with the tracer middleware. I get the above error when I set
format: OutputFormat.ESM
Environment
Related issues, RFCs
The text was updated successfully, but these errors were encountered: