jamesmbourne / aws4-axios

Axios request interceptor for signing requests with AWSv4
MIT License
107 stars 41 forks source link

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

Open gesabehrends opened 8 months ago

gesabehrends commented 8 months ago

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:

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

bergmorten commented 6 months ago

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.