1

I installed VS Code using the Scoop package manager.

I get this error when launching VS Code from Windows Terminal, inside WSL 2:

WSL 2 VS Code launch error

My theory is that the error is caused because I used Scoop instead of the regular installer.

Should I use the regular VS Code installer from their website or can this error be fixed?

gummiost
  • 654
  • 7
  • 15

1 Answers1

2

OK, so I uninstalled VS Code using Scoop and installed the regular installer from the VS Code website and now it works.

Seems the problem is with the Scoop VS Code installer.

enter image description here

gummiost
  • 654
  • 7
  • 15
  • Check out this Github Issue for the cause: https://github.com/lukesampson/scoop-extras/issues/2581 – Al Johri May 05 '20 at 01:47
  • And this for the fix - https://github.com/lukesampson/scoop-extras/issues/2581#issuecomment-623868510 - see how to replace the shim. – davidbak May 22 '20 at 02:04