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
error: Uncaught SyntaxError: The requested module '/v54/@aws-crypto/sha256-browser@2.0.0/deno/sha256-browser.js' does not provide an export named 'Sha256'
at <anonymous> (https://cdn.esm.sh/v54/@aws-sdk/client-kms@3.39.0/deno/client-kms.js:2:217728)
The intention of this code structure should result in the package exporting the Sha256 class, but maybe esbuild could be misinterpreting, resulting in the output not including Sha256.
Uncaught TypeError: The requested module '/v55/@aws-crypto/sha256-browser@2.0.0/deno/sha256-browser.js' does not provide an export named 'Sha256'
at async <anonymous>:2:13
Failing module
Error message
After running
deno run
I get this:Additional info
More context can be found here: aws/aws-sdk-js-v3#2810 (comment):
If you look at the original source:
And then in crossPlatformSha256.ts:
The intention of this code structure should result in the package exporting the
Sha256
class, but maybeesbuild
could be misinterpreting, resulting in the output not includingSha256
.Note that
https://cdn.skypack.dev/@aws-sdk/client-kms?dts
works as intended, as can be seen here: https://cdn.skypack.dev/-/@aws-crypto/sha256-browser@v2.0.0-hvSgq1UX0ymv6X1i0cjH/dist=es2020,mode=imports/optimized/@aws-crypto/sha256-browser.jsThe text was updated successfully, but these errors were encountered: