-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undeclared Dependencies in [email protected] #5056
Comments
Happening to me as well, using your workaround solved it for now! |
Not fixed in 3.386.0. Workaround is still required. |
edit: it turns out we can't use the change from #5064. I'll try to come up with a solution that fixes the cyclical dependency and does not introduce undeclared dependencies, but please use the workaround you have for now. |
Confirmed fixed in 3.388.0 Thank you! |
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. |
Checkboxes for prior research
Describe the bug
After updating to 3.385.0, using Yarn 3.6.1, there are a number of (21) unresolved dependencies for token-providers.
For example:
This may be related to #5049
Workaround was ultimately the following packageExtension in .yarnrc.yml:
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node v18.17.0
Reproduction Steps
This was observed after a routine update from:
to:
Observed Behavior
Using yarn 3.6.1 (PnP), after building and deploying a docker container, one error would be logged during app startup like the one below. Each time a suitable entry was added to .yarnrc.yml, the next start would reveal a further undeclared dependency.
The error appears to be during initialisation of the S3 component.
Expected Behavior
Clean startup with all dependencies captured during the build phase.
Possible Solution
This may be related to #5049
Workaround was the following packageExtension in .yarnrc.yml:
Additional Information/Context
The last similar issue I saw led to this entry in my .yarnrc.yml:
The text was updated successfully, but these errors were encountered: