I am installing the synthWave 84 theme for VS Code but when I turn on neon it gives an error: You must run VS code with admin privileges in order to enable Neon Dreams.I tried running VSCode as admin but still not working!
2
I changed this on the file extension.js and worked for me:
Path: C:Users"YourUserName".vscodeextensionsrobbowen.synthwave-vscode-0.1.11src
const htmlFile = base + (isWin ? "\electron-sandbox\workbench\workbench.html" : "/electron-sandbox/workbench/workbench.html"); const templateFile = base + (isWin ? "\electron-sandbox\workbench\neondreams.js" : "/electron-sandbox/workbench/neondreams.js"); var htmlFile = base + (isWin ? "\electron-sandbox\workbench\workbench.html" : "/electron-sandbox/workbench/workbench.html");
So, as you can look where it is written "electron-sandbox", it was "electron-browser" before.
After saving these changes, you run as administrator and try again, then it should work.
I had the same problem and here is what worked for me:
Uninstall the extension.
Delete the folder containing the previous installation; folder is: "robbowen.synthwave". located at: C:Users"YourUserName".vscodeextensions
Run VsCode as adm, install the extension, apply neon, it will prompt you to restart vscode, just do it.
It worked for me. If you want to give it a try, it’s up to you.
PS: Folder name might be different depending on the extension version.
Click here to cancel reply.
2
Answers
I changed this on the file extension.js and worked for me:
Path: C:Users"YourUserName".vscodeextensionsrobbowen.synthwave-vscode-0.1.11src
So, as you can look where it is written "electron-sandbox", it was "electron-browser" before.
After saving these changes, you run as administrator and try again, then it should work.
I had the same problem and here is what worked for me:
Uninstall the extension.
Delete the folder containing the previous installation; folder is: "robbowen.synthwave".
located at: C:Users"YourUserName".vscodeextensions
Run VsCode as adm, install the extension, apply neon, it will prompt you to restart vscode, just do it.
It worked for me. If you want to give it a try, it’s up to you.
PS: Folder name might be different depending on the extension version.