-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite cannot support yarn2 Global Cache #8908
Comments
my global cache locates in C drive and my project locates in D drive. |
My bad. Anyway, the cross-drive symlink/junction is the root cause here. |
I disabled the global cache and it worked. |
I can reproduce the issue on a The error's not exclusive to this package. I'm getting similar errors for other packages like I'd be glad to provide more info if useful. |
@HasanMothaffar Would you test if moving global cache to the same drive works? |
I had to disable yarn's global cache to do this because nearly everything seems to be broken with Yarn. vitejs/vite#8908
Closing as lack of response and I guess this is a duplicate of #4635 |
Describe the bug
when i use yarn berry and set
enableGlobalCache: true
.i got an error look's like this:
it's maybe an esbuild bug.
Reproduction
https://github.com/frg2089/vite-bug
System Info
Used Package Manager
yarn
Logs
Click to expand!
<Path To Local Appdata>
%LOCALAPPDATA%
<Path To Project>
D:\Repos\vite-demo
Validations
The text was updated successfully, but these errors were encountered: