Skip to content
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

[Bug]: Access denied error when installing, reloading or uninstalling Vibrancy due to .node files being locked as "in use" #58

Open
tengri123 opened this issue Feb 18, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@tengri123
Copy link

tengri123 commented Feb 18, 2023

A change was made to VSCode on Windows that causes it to lock all .node files as "in use", meaning that they're unable to be changed in any way while VSCode is running, which presents an issue to Vibrancy as it works as an extension in VSCode.

Need to investigate how to either:

  • Unlock the file using handle.exe or other methods
  • Update the file while VSCode is restarting
  • Find other way to inject those files without VSCode locking them.

Current workaround: remove %APPDATA%\..\Local\Programs\Microsoft VS Code\resources\app\out\vscode-vibrancy-runtime-v6 manually using Explorer while VSCode is not running.

Edited by @illixion to add more info

@tengri123 tengri123 added bug Something isn't working triage Cause of the issue needs to be triaged labels Feb 18, 2023
@tengri123
Copy link
Author

had to delete it's folder to fix it

@Jnorm911
Copy link

Jnorm911 commented Feb 18, 2023

Same issue here, where is the local folder in Windows?

:edit: C:\Users\yourUserName\.vscode\extensions

@illixion illixion changed the title [Bug]: after downloading and enabling, i cannot longer run vs code, not as administrator, not from terminal, it is not showing in task manager aswell [Bug]: Access denied error when installing, reloading or uninstalling Vibrancy due to .node files being locked as "in use" Feb 19, 2023
@illixion illixion added help wanted Extra attention is needed and removed triage Cause of the issue needs to be triaged labels Feb 19, 2023
@illixion illixion pinned this issue Feb 19, 2023
@illixion
Copy link
Owner

Updated the issue with info on what the root cause of the problem is and a workaround. I don't have a lot of time to look into this as I don't use VSCode on Windows, so if anyone wants to take a look into it, I'd appreciate the help.

@illixion
Copy link
Owner

Added a workaround that should prevent this error from occurring on Windows. Any help with fixing this would still be appreciated as this issue prevents .node files from being updated, though they don't change often so this isn't high priority.

@illixion illixion removed the help wanted Extra attention is needed label Mar 11, 2023
@illixion illixion unpinned this issue Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants