Replies: 1 comment
-
Updating and synchronizing my aws-sdk packages fixed these errors for me (for now). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been using the v3 SDK and have found that quite often I can get type errors like the following:
This I think seems to be due to mismatching versions of the multiple
@aws-sdk
packages.I wonder if there's a tried and tested way of keeping all the package versions in sync so that they are compatible with each other? I'm using
yarn
, and even when I make sure all of the dependencies in mypackage.json
specify the same explicit version (in this case3.226.0
) - I'll end up with these problems as some of the packages I suppose pull in their own dependencies that might not get locked to the same compatible version?I've been able to get around this issue by adding the following to my
package.json
, but this isn't ideal! Would be nice to know if there's a more succinct way :)Thanks,
Jack
Beta Was this translation helpful? Give feedback.
All reactions