Skip to content
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

Issue with @aws-sdk/client-sts #1280

Open
gesabehrends opened this issue Feb 20, 2024 · 1 comment
Open

Issue with @aws-sdk/client-sts #1280

gesabehrends opened this issue Feb 20, 2024 · 1 comment

Comments

@gesabehrends
Copy link

gesabehrends commented Feb 20, 2024

In the package.json the @aws-sdk/client-sts is allowed any minor version of 3: https://github.com/jamesmbourne/aws4-axios/blob/main/package.json#L40

However, on bumping transitive dependencies, I realized the "@aws-sdk/client-sts@"3.511.0" is not possible as it misses the "@aws-sdk/credential-provider-node" dependency which seems to be needed:

Cannot find module '@aws-sdk/credential-provider-node'
Require stack:

  • /node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js
  • /node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
  • /node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js
  • /node_modules/@aws-sdk/client-sts/dist-cjs/index.js
  • /node_modules/aws4-axios/dist/credentials/assumeRoleCredentialsProvider.js
  • /node_modules/aws4-axios/dist/interceptor.js
  • /node_modules/aws4-axios/dist/index.js

Would be great, if the dependencies could be fixed!
Version is 3.3.1

@bergmorten
Copy link

bergmorten commented Apr 22, 2024

I've also problem with this. When getting 3.556.0 I get AwsSdkSigV4Signer is not a constructor. AwsSdkSigV4Signer is not a class constructor in the latest releases?

UPDATE: I think my issues was with yarn mixing different versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants