berry
berry copied to clipboard
[Bug?]: vite + windows + global cache = errors
Self-service
- [ ] I'd be willing to implement a fix
Describe the bug
Hi,
description available at https://github.com/vitejs/vite/issues/15854 where I previously filed bug thinking it's vite issue.
Basically with specific setup it's impossible to use global cache in yarn on windows.
Please look at https://github.com/vitejs/vite/issues/15854#issuecomment-1937805701 where @sapphi-red points to specific yarn function.
To reproduce
https://github.com/vitejs/vite/issues/15854 / repo: https://github.com/mcenkar/vite-15801/
Steps to reproduce:
- checkout mentioned repo to
D:\Company\Workspace\vite-15801folder, - in project's
.yarnrc.ymladd entry:globalFolder: "d:/Company/Workspace/programs/.yarn/Berry/" yarnyarn dev
Environment
NA
Additional context
No response
I have the same problem. Please take some time to solve it. Thank you.
i have same problem