Issues with Yarn and certain combination of atlaskit packages

Hi Atlassian dev community,

We are currently facing some issues with specific versions of a couple of atlaskit libraries, namely

@atlaskit/modal-dialog: >12.15.4
@atlaskit/onboarding: >11.14.0

When bumping the versions of these libraries to any version matching the above, yarn install fails with

 YN0001: │ Error: Assertion failed: The locator should have been registered

For now, we pinned the versions of the libraries but we would prefer upgrading at some point. After some research, we found this yarn issue [Bug] Can`t use same versions of aliased packages with peer dependencies · Issue #1352 · yarnpkg/berry · GitHub which looks similar to what we encounter.

Did anyone else encounter similar issues? Do you have any suggestions, how to solve this or what causes the issue?

Best,
Lina

5 Likes