Closed pinarruiz closed 2 months ago
You'll have to install these dependencies manually for the moment ( @aws-sdk/client-sts
, @aws-sdk/client-sso-oidc
).
I think we should create an issue in the sdk repo https://github.com/aws/aws-sdk-js-v3. This is a breaking change since it will break every single app or lib that bundle the sdk and that don't have auto-install-peers
For reference https://github.com/aws/aws-sdk-js-v3/issues/6049
This should be fixed in the aws sdk in version 3.569. Feel free to reopen if you still have the issues.
When building open next, it results in this error:
My node version:
20.12.2
My package.json dependencies:
On executing
yarn install
on the project with cleannode_modules
and with cleared yarn cache, I get the following warnings:All the warnings mentioned above come from changes made on the commit:
credential-provider-ini
: https://github.com/aws/aws-sdk-js-v3/commit/5ce5600249cc163188e6fa8facf8ec7b8f435793#diff-28efbabf690ae87c39e8de256188f7b9fd15aa1532509b46e32e470fc9a2d863credential-provider-web-identity
: https://github.com/aws/aws-sdk-js-v3/commit/5ce5600249cc163188e6fa8facf8ec7b8f435793#diff-49c28d1cb42fdaaf4abd3d902f98939000a16805f8a3b9e0be564e3df395cde7credential-provider-sso
: https://github.com/aws/aws-sdk-js-v3/commit/5ce5600249cc163188e6fa8facf8ec7b8f435793#diff-4dbb7c9cedcbb7e6e1bd314417ea693bc764e83828d64814fcf3ec398777274aIn this commit all the packages are moving this packages to
peerDependency
If more information is needed, please ask for it. I have taken a look for duplicated issues, but could not find any.
EDIT1: Add more info. EDIT2: Add more info again.