-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Resource Busy Or Locked Error #5740
Comments
Quick googling is suggesting that this might be because of some plugins not following Vite's convention:
Can you check if you have any plugins which might be doing something similar? |
Apologies for the delay in replying. I am not using any additional plugins for vitest, and only the React plugin for vite. The issue does seem to be reproduced when using vitest cli:
|
Interesting. Actually official react plugin is also doing
Thanks for confirming. For now, I'll move this issue to Vitest repo, but I this it's also possible that the same issue can happen on Vite cli too. If that's the case, we need to report that to either Vite or React plugin https://github.com/vitejs/vite-plugin-react |
Btw, can you provide "System Info" in a comment? You can simply run |
@patak-dev It looks like the issue of |
System: Binaries: Browsers: npmPackages: |
Do you have
With my obvious connection to nx, I'm 1.) not sure if it would be nx or a vite at fault and 2.) If it is related to this issue
|
No, we dont use |
Gotcha. My issue was caused by creating an infinite loop with my root |
Describe the bug
The extension throws a
resource busy or locked
exception intermittently. It seems to be trying to access files in the root of the C drive - usuallyc:\DumpStack.log.tmp
orc:\hiberfil.sys
(if dumpstack logging has been disabled).After the error has been thrown I have to disable then re-enable the extension to get it running again - it will then fail again after an amount of time ranging from a few seconds to 15 minutes.
OS: Windows 10
VS Code:1.88.1
Vitest Extension: 0.8.6
Reproduction
No special reproduction required, the exception is thrown even when no tests are being ran, just having the extension enabled for a period of time.
Output
Version
0.8.6
Validations
The text was updated successfully, but these errors were encountered: