[Bug?]: installs fail on latest version due to relative path in `got` dependency
Author: antal-bukosCreated Sep 25, 2026Updated Sep 30, 2026
Labelsbug
Self-service
- I'd be willing to implement a fix
Describe the bug
The error surfaced on CI. Claude dug into it and found the likely culprit being commit https://github.com/yarnpkg/berry/commit/502acfec2f#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519.
To reproduce
Run yarn dlx @yarnpkg/sdks --help, you should see a failure like
➤ YN0000: · Yarn 4.9.1
plugin-auto-install v1.9.2 updated dependency hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: got@patch:got@npm%3A11.8.2#~/.yarn/patches/got-npm-11.8.2-c1eb105458.patch: ENOENT: no such file or directory, open '/private/var/folders/4h/mp932d7d5sn0ph8vw2pyw3jw0000gn/T/xfs-ab32324c/dlx-13452/.yarn/patches/got-npm-11.8.2-c1eb105458.patch'
➤ YN0000: └ Completed in 1s 20ms
➤ YN0000: · Failed with errors in 1s 31msEnvironment
System:
OS: macOS 26.6.2
CPU: (15) arm64 Apple M5 Pro
Binaries:
Node: 20.10.0 - /private/var/folders/4h/mp932d7d5sn0ph8vw2pyw3jw0000gn/T/xfs-384782f6/node
Yarn: 4.9.1 - /private/var/folders/4h/mp932d7d5sn0ph8vw2pyw3jw0000gn/T/xfs-384782f6/yarn
npm: 10.2.3Additional context
No response
Source: yarnpkg/berry