Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys' #24

Closed
liyan1105 opened this issue Jan 22, 2021 · 0 comments · Fixed by viniciuskneves/vite-vue2#2
Closed

Comments

@liyan1105
Copy link

I run into this problem when I put my project directory on disk C. After a period of debugging, I found that it was caused by the following two module requests.

export const vueComponentNormalizer = '/vite/vueComponentNormalizer'
export const vueHotReload = '/vite/vueHotReload'

Vite treats these two modules as if they were modules outside the project root, and then listens to the directory where they are located, the C root. And that led to the problem.
I can solve this problem by getting rid of the first slash. But I'm not sure that's the best solution.Could you please have a look? Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.