-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Project dependency files remain locked indefinitely #29856
Comments
Very likely caused by TypeScript. |
Sounds similar to #29407 Can you please try disabling all extensions, restarting VS Code to reproduce the problem and then sharing the full process details of the process that is holding the file locks |
When I reproduced it right now on a different machine, this process was having locks open:
I'll check again on the original machine tomorrow. I feel like there was something else going on. |
Yeah, it always seems to be the |
See also microsoft/vscode#68576 This bug doesn't depend on extensions and seems to happen anywhere in the project directory. |
Today, on Ubuntu this bug appeared in my haskell project which has no .ts file. |
Closing this as this is duplicate of #29407 |
@sheetalkamat I didn't have this issue prior to the latest update, no |
@sheetalkamat ocasionally I also have the same issue as @oliversalzburg the node_modules folder becomes locked, not the @types folder. So I do not think this is a dupe of #29407 I only notice when doing a delendency reinstall (using I used LockHunter on windows to determine the cause of the lock (tsserver, which helped me find this issue). speculative cause:yesterday I commented out |
I remember there was a reply here, explaining to some degree that it is a dupe, but the reply seems to have been removed. Issue is still closed though :( I'll just wait for #29407 to be resolved, then I report again if the issue remains. |
Probably her fix will cover the cases provided here since she found the core problem: #29407 (comment) |
Issue Type: Bug
When I open a project in VS Code, VS Code will lock
node_modules
folders in my project dependencies, preventing me from runningnpm install
successfully. This worked fine in 1.30.VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17763
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (13)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: