Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio code EPERM Operation not permitted

Everytime I try and install a new extension onto vsc I get:

Error while loading extensions. EPERM: operation not permitted

followed by it telling me to open a .obsolete file. The file path it tells me too doesnt exist though. I do not have a .vscode folder for some reason.

like image 384
Jake Avatar asked Mar 22 '26 13:03

Jake


2 Answers

  • You should first go your current user "C:\Users\your_user_name" directory.
  • Then click the "Hidden Items" checkbox.
  • After you will see the ".vscode" folder.
  • Last thing to do is deleting it and reopen the VS Code.
like image 71
Kerem Atasen Avatar answered Mar 26 '26 13:03

Kerem Atasen


I had the same problem when re-installing Visual Studio Code. The old .vscode folder with my old extensions persisted. Deleting the old .vscode folder solved the problem.

It may be hidden. To show hidden folders in File Explorer, go to View > check 'Hidden Items' in Show/hide section.

like image 29
9thWave Avatar answered Mar 26 '26 13:03

9thWave