Skip to content

What will be the suitable version for @aws-sdk/client-sqs to run sqs-consumer ? #455

Discussion options

You must be logged in to vote

Hey, 5.8.0 only works with AWS SDK V2, it's specifically carved out only for that version of the AWS SDK as there are major differences between that and V3.

For the latest version of the AWS SDK (V3), you'll need to use the latest version of sqs-consumer.

It looks like you are for some reason loading two versions of sqs-consumer? You only need one. The latter error with the latest versions looks to be potentially the new JSON protocol in v8 and the latest versions of the AWS SDK, for that, you need to match the AWS SDK version across your system, or use a version prior to V8 of sqs-consumer.

Hopefully that answers your question :).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nicholasgriffintn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants