You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with Lambda runtime version nodejs:22.v35, that corresponds to NodeJS v22.14.0, AWS has decided to stop supporting the ability to require ES modules.
The reported reason for discontinuing it is an overall performance penalty impacting all workloads, not only those making use of the option.
The request is, simply, to try reintroducing the -experimental-require-module flag support in the new runtime version when it will be available.
Many thanks.
The text was updated successfully, but these errors were encountered:
Starting with Lambda runtime version nodejs:22.v35, that corresponds to NodeJS v22.14.0, AWS has decided to stop supporting the ability to require ES modules.
This functionality was previously supported and advertised (see https://aws.amazon.com/blogs/compute/node-js-22-runtime-now-available-in-aws-lambda/) by AWS as an upgrade path strategy, for example for the middy.js middleware library (https://middy.js.org/docs/upgrade/5-6).
See here for more context: middyjs/middy#1288 (comment)
The reported reason for discontinuing it is an overall performance penalty impacting all workloads, not only those making use of the option.
The request is, simply, to try reintroducing the
-experimental-require-module
flag support in the new runtime version when it will be available.Many thanks.
The text was updated successfully, but these errors were encountered: