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
According to the original issue AWS SDK cannot drop support for Node.js 14.x until May 1, 2024 or later. Therefore changing the dependency version in use by @aws-sdk/client-sts on the main branch would require a version of @aws-crypto compaible with both NPM 9+ and Node.js 14.x which we were advised to request.
Please advise if this is possible or if any additional information is required.
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered:
Background
Please see the original issue for @aws-sdk/client-sts here: aws/aws-sdk-js-v3#5305
Summary
When using
@aws-sdk/client-sts
as a bundleDependencies, npm pack resolves @aws-sdk/client-sts dependency on @aws-crypto/sha256-browser and @aws-crypto/sha256-js to3.0.0
for compatibility with Node.js14.x
. Due to breaking changes in NPM 9+ to npm pack these older versions resolve to the deprecated package@aws-sdk/util-utf8-browser
which has files omitted, leading to the errorCannot find module
.npm pack
does not work with overrides as a work-around.Issue
Since all currently supported versions of Node.js use NPM 9+ we are looking to resolve this issue.
According to the original issue AWS SDK cannot drop support for Node.js 14.x until May 1, 2024 or later. Therefore changing the dependency version in use by
@aws-sdk/client-sts
on the main branch would require a version of@aws-crypto
compaible with both NPM 9+ and Node.js 14.x which we were advised to request.Please advise if this is possible or if any additional information is required.
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered: