question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

signature-v4 has a transitive dependency aws-crt#1.12.4 which has a size of 600MB+

See original GitHub issue

Describe the bug

Our container image size has grown to a size of 1.2 GB, investigating the issue I found that aws-crt#1.12.4 is the source of the issue. image

Using aws-crt#1.12.3 has a normal size, by adding to package.json:

  "resolutions": {
    "aws-crt": "1.12.3"
  }

I got: image

Used package version: @aws-sdk/signature-v4-crt@3.110.0

Expected Behavior

I expect to have a package size of: Disk size with transitive dependencies: "36.52MB"

Current Behavior

I get a huge size of package: Disk size with transitive dependencies: "633.91MB"

Reproduction Steps

  1. rm -rf node_modules yarn.lock package-lock.json && yarn
  2. yarn why aws-crt
  3. See that the size of package is 600MB+

Possible Solution

in signature-v4 package, change package.json "aws-crt": "^1.12.2" to "aws-crt": "1.12.3" until a proper release of aws-crt is out.

Additional Information/Context

No response

SDK version used

@aws-sdk/signature-v4-crt@3.110.0

Environment details (OS name and version, etc.)

Fedora 36

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
amitlevy-bucommented, Jun 23, 2022

Thanks @RanVaknin @sbSteveK , size is back to normal

1reaction
amitlevy-bucommented, Jun 22, 2022

Thank you @RanVaknin

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found