-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
Hi,
We are trying to install some atlaskit packages which fails with Error: Assertion failed: The locator should have been registered. We figured that only yarn 1.22.22 will build. Currently, however, we want to use 4.5.0.
Thanks in advance. Best
Bernhard
To reproduce
Minimal setup package.json
{
"name": "test123",
"version": "1.0.0",
"description": "test",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@atlaskit/editor-common": "72.0.0",
}
}
Environment
System:
OS: macOS 14.6.1
CPU: (12) arm64 Apple M3 Pro
Binaries:
Node: 20.11.1 - /private/var/folders/qs/21fcps297lq1tjry9cvsc0sm0000gn/T/xfs-ec22ad8c/node
Yarn: 4.5.0 - /private/var/folders/qs/21fcps297lq1tjry9cvsc0sm0000gn/T/xfs-ec22ad8c/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
Alternatively:
System:
OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
Binaries:
Node: 20.11.0 - /tmp/xfs-b9afdeec/node
Yarn: 4.5.0 - /tmp/xfs-b9afdeec/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v20.11.0/bin/npm
or
System:
OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Binaries:
Node: 20.11.0 - /tmp/xfs-fdc72878/node
Yarn: 4.5.1 - /tmp/xfs-fdc72878/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
Additional context
Complete logs:
➤ YN0002: │ test123@workspace:. doesn't provide @emotion/react (p0dda0), requested by @atlaskit/media-viewer.
➤ YN0002: │ test123@workspace:. doesn't provide react (p9e4a5), requested by @atlaskit/editor-common and other dependencies.
➤ YN0002: │ test123@workspace:. doesn't provide react-dom (pd5054), requested by @atlaskit/editor-common.
➤ YN0002: │ test123@workspace:. doesn't provide react-intl-next (pb572b), requested by @atlaskit/editor-common and other dependencies.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0001: │ Error: Assertion failed: The locator should have been registered
at /home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:210:11433
at /home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:140:55074
at Array.map ()
at Fs (/home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:140:55067)
at t.fetchEverything (/home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:210:11348)
at /home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:213:4080
at Rt.startSectionPromise (/home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:176:2834)
at Rt.startTimerPromise (/home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:176:3734)
at t.install (/home/user/temp/test/.yarn/releases/yarn-4.5.0.cjs:213:4028)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
➤ YN0000: └ Completed
➤ YN0000: · Failed with errors in 1s 562ms