-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that didn't get attentionIssues that didn't get attentionwaiting for feedbackWill autoclose in a while unless more data are providedWill autoclose in a while unless more data are provided
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
https://yarnpkg.com/configuration/yarnrc#globalFolder
It's using ${HOME}\AppData\Local\Yarn\Berry\cache
as globalFolder
on GitHub Actions at least
Related codes:
berry/packages/yarnpkg-core/sources/folderUtils.ts
Lines 5 to 8 in 7553478
if (process.platform === `win32`) { | |
const base = npath.toPortablePath(process.env.LOCALAPPDATA || npath.join(homedir(), `AppData`, `Local`)); | |
return ppath.resolve(base, `Yarn/Berry`); | |
} |
To reproduce
Environment
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M4
Binaries:
Node: 24.1.0 - ~/.tmp/xfs-46bac26b/node
Yarn: 1.22.22 - ~/.tmp/xfs-46bac26b/yarn
npm: 11.3.0 - ~/.local/state/fnm_multishells/63216_1748917204732/bin/npm
pnpm: 10.11.0 - /opt/homebrew/bin/pnpm
bun: 1.2.15 - /opt/homebrew/bin/bun
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that didn't get attentionIssues that didn't get attentionwaiting for feedbackWill autoclose in a while unless more data are providedWill autoclose in a while unless more data are provided