robb0wen / synthwave-vscode

Synthwave inspired colour theme for VS Code 🌅🕶
MIT License
5.19k stars 1.19k forks source link

ERROR: You may need to run VS code with admin privileges in order to enable Neon Dreams. #298

Open enriquemorenotent opened 1 year ago

enriquemorenotent commented 1 year ago

I have seen this error in other tickets, but it is marked as solved. In my case, this error persists.

image

OS: Ubuntu 22.40 VSCode: v1.82.2 Synthwave: v0.1.15

How to solve it, please?

wilrodriguez commented 1 year ago

If you haven't already sorted this out, you can avoid running vs code as a super user by chowning the program files as your user. For example, this does the job for me on mac sudo chown -R $(whoami) /Applications/Visual\ Studio\ Code.app/Contents, just replace with the correct one on your platform. I don't have a ubuntu vm configured right now, but I'm guessing your install binaries should be somewhere in /opt that's not too difficult to find. You could probably narrow the permissions down to particular files by digging around the enable/disable script, but the lazy solution works well enough for single user systems. I mean, I guess it would work fine for multi-user systems too if you wanted to chown using a shared group only.

chris-crowson commented 2 weeks ago

Started running into this on Mac after updating to VSCode: v1.95. The above sudo chown command does not seem to resolve.

kevinRT19 commented 2 weeks ago

alguno sabe alguna solución para windows ? version de vs code 1.95 dejo de funcionar