has anyone ever seen this error?? :flushed: ```"AW...
# help
s
has anyone ever seen this error?? 😳
Copy code
"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"
it’s from invoking a Lambda function
f
Hmm.. haven’t used it. Is this related https://stackoverflow.com/a/68095694/7667989?
s
I’m not even doing anything with IoT. super weird.
it’s like this Lambda function just broke itself 😄
f
is this happening on local or live?
s
live, in production. I’ve got AWS support on chat now, hope to get to the bottom of it
f
👍
s
it has something to do with Lambda layers with binary executables in them
@Frank ok. can you help me determine if this is an SST bundling issue or not?
got to the bottom of it
Copy code
└─ src@workspace:src
   └─ @aws-sdk/client-s3@npm:3.29.0 (via npm:^3.29.0)
      └─ @aws-sdk/middleware-sdk-s3@npm:3.29.0 (via npm:3.29.0)
         └─ @aws-sdk/signature-v4-crt@npm:3.29.0 (via npm:3.29.0)
            └─ aws-crt@npm:1.9.1 (via npm:^1.9.0)
is aws-crt not being properly bundled?
though it’s strange it would look in /bin
ok.. yeah.
/bin/native
and
/bin/linux-64
don’t even exist in the lambda environment
rolling back to SDK version 3.28.0 to see if that fixes things
yep, that did it. yikes 😬
f
Oh nice. Glad u figured it out!