AWS CRT binary not present in any of the following locations · Issue #2753 · aws/aws-sdk-js-v3 (original) (raw)

Describe the bug

When upgrading to 3.29.0, and compiling a typescript file to a single javascript file with esbuild, and running that with node, you get:

AWS CRT binary not present in any of the following locations:

       /codebuild/output/bin/native/aws-crt-nodejs
        /codebuild/output/bin/linux-x64/aws-crt-nodejs

Your environment

First saw this in a codebuild job, but happens everywhere. So for example AWS Linux Workspace.

SDK version number

@aws-sdk/client-s3@3.29.0

Is the issue in the browser/Node.js/ReactNative?

node.js

Seen with version 14 and 16.

Expected behavior

As per #2750 you should not pull in aws-crt and 200MB of dependencies.