Closed cromega closed 15 hours ago
oh my gosh this was driving me crazy. It is indeed broken gosh. Im sorry I don't have a fix for you, I removed the SST code to fix it on our end
That's alright, Thanks for looking into it, I'm glad the problem exists and is acknowledged. I will patiently wait for further updates :)
Woke up to this having popped up again but upgrading the AWS SDK helped this time
systemd[1]: Failed with result 'exit-code'.
Jul 01 : 24880 | // ../..[REDACTED]@aws-sdk/client-sso/dist-es/SSOClient.js
Jul 01 : 24881 | class SSOClient extends smithy_client20.Client {
Jul 01 : ^
Jul 01 : TypeError: undefined is not an object (evaluating 'smithy_client20.Client')
Jul 01 : at /$bunfs/root/server:24881:25
Jul 01 : pam_unix(sudo:session): session closed for user root
Jul 01 : swe.service: Main process exited, code=exited, status=1/FAILURE
❯ pnpm up -i -L
dependencies:
- @aws-sdk/client-batch 3.598.0
+ @aws-sdk/client-batch 3.606.0
- @aws-sdk/client-cloudwatch-logs 3.598.0
+ @aws-sdk/client-cloudwatch-logs 3.606.0
- @aws-sdk/client-sts 3.598.0
+ @aws-sdk/client-sts 3.606.0
I tried compiling my project with bun again and this time it seems to work fine, not sure what changed but thanks to whoever was responsible :)
What version of Bun is running?
1.1.12+43f0913c3
What platform is your computer?
Linux 6.5.0-35-generic x86_64 unknown
What steps can reproduce the bug?
I'm trying to build a CLI tool which wraps quite a few AWS libraries. I'm running into problems running the tool after compilation.
Here is an example project to reproduce the issue.
package.json:
index.ts:
What is the expected behavior?
What do you see instead?
Additional information
The code works when executed with
AWS_PROFILE=eu-west-2 bun run index.ts
The code breaks with the aforementioned error when executed with:
The version of the
@aws-sdk/client-sts
package is3.588.0
NOTE: you need an AWS user and access credentials configured.