-
Notifications
You must be signed in to change notification settings - Fork 612
AWS CRT binary not present in any of the following locations #2753
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I'm getting this too, as of today: {
"errorType": "Error",
"errorMessage": "AWS CRT binary not present in any of the following locations:\n\t/bin/native/aws-crt-nodejs\n\t/bin/linux-x64/aws-crt-nodejs",
"stack": [
"Error: AWS CRT binary not present in any of the following locations:",
"\t/bin/native/aws-crt-nodejs",
"\t/bin/linux-x64/aws-crt-nodejs",
" at node_modules/aws-crt/dist/native/binding.js (/var/task/empty-trash.js:79961:13)",
" at __require (/var/task/empty-trash.js:38:44)",
" at node_modules/aws-crt/dist/native/crt.js (/var/task/empty-trash.js:79976:37)",
" at __require (/var/task/empty-trash.js:38:44)",
" at node_modules/aws-crt/dist/index.js (/var/task/empty-trash.js:81249:28)",
" at __require (/var/task/empty-trash.js:38:44)",
" at node_modules/@aws-sdk/signature-v4-crt/dist/cjs/CrtSignerV4.js (/var/task/empty-trash.js:81368:21)",
" at __require (/var/task/empty-trash.js:38:44)",
" at node_modules/@aws-sdk/signature-v4-crt/dist/cjs/index.js (/var/task/empty-trash.js:81490:31)",
" at __require (/var/task/empty-trash.js:38:44)"
]
} This CRT package is new.
This broke our functions in production. Rolling back to 3.28.0 of the SDK fixed it. (likely related to #2750) |
Hi @berenddeboer, can you provide which platform you are running the SDK in? Since we have rolled back(as in #2750) the dependency in question temporarily, I will re-assign this issue to the |
@berenddeboer Seems like I cannot transfer the issue because we are not in the same github org. Can you reopen this issue against their repo? This issue worths their attention. |
To bring up their attention, I manually copied this ticket to the CRT package repo: awslabs/aws-crt-nodejs#251. I will close this one. You should follow up on the other ticket. |
@AllanZhengYP I saw this on AWS CodeBuild jobs, so that's Ubuntu 20 I think. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
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:
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.
The text was updated successfully, but these errors were encountered: