skip to Main Content

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!

enter image description here

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search