be5invis / vscode-custom-css

Custom CSS Plugin for Visual Studio Code. Based on vscode-icon
MIT License
875 stars 67 forks source link

Enable/Reload Custom CSS and JS Fatal Error EPERM: operation not permitted #210

Closed FlowerCA77 closed 6 months ago

FlowerCA77 commented 6 months ago

When I try to Enable/Reload Custom CSS and JS after vscode updated, it cannot work with a fatal error:

Error: EPERM: operation not permitted, open 'c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-sandbox\workbench\workbench.93e48ee3-e81c-4750-9e98-220d9dfb096c.bak-custom-css' extension.updateCustomCSS {"value":"be5invis.vscode-custom-css","_lower":"be5invis.vscode-custom-css"}

I do not know what the file workbench.********-****-****-****-************.bak-custom-css (those star are random value) is and I don't write the file in user settings.json file. I only write one custom css file in settings.json by vscode_custom_css.imports and this file is outside with vscode's directory, so vscode's update can not effect my css file and I checked my file is still existed after updated.

Snipaste_2024-05-12_21-47-56 Snipaste_2024-05-12_21-48-32 Snipaste_2024-05-12_21-48-42

I'm sure I open vscode with administrator privileges

Let me know if you need anymore information

Thanks for everyone who can help me.

IOLOII commented 6 months ago

Try & Flow this readme

image

Here is after success setting :

image
FlowerCA77 commented 6 months ago

thank you