Getting "NoPermissions (FileSystemError): Error: EPERM: operation not permitted" when trying to save/create file on Visual Studio Code
15,931
Solution 1
I also meet this problem, now the problem has been solved. Please restart your PC and run your VSCODE as Administrator.
Solution 2
Just Run your VSCODE as Administrator.
Author by
Admin
Updated on June 28, 2022Comments
-
Admin almost 2 years
I uploaded "mynewfolder" to Visual Studio Code, but when I do "New File" and write "index.html" under that I get this message:
Unable to write file (NoPermissions (FileSystemError): Error: EPERM: operation not permitted, open 'c:\Users\Projects\MyFirstPage\index.html')
I tried several times and still get the same error message.
Can anyone tell me what's going on?
-
ack over 3 yearsPosting a screenshot from an Apple system as answer to an 1 yr. old, already solved problem on a Windows system is unlikely to be helpful.