Activating extension `ms-vscode.csharp` failed: Cannot find module 'jsonc-parser'.
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Command Line Tools (2.1.4)
Product Information: Version: 2.1.4 Commit SHA-1 hash: 5e8add2190
Runtime Environment: OS Name: Windows OS Version: 10.0.16299 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.4\
Microsoft .NET Core Shared Framework Host
Version : 2.0.5 Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54
VS Code version: 1.20.1 C# Extension version: 1.14.0
For some reason, intellisense isn’t working for me since the CSharp extension fails to load. I’m getting a devtools console error:
[Extension Host] Activating extension `ms-vscode.csharp` failed: Cannot find module 'jsonc-parser'
Other than that, there isn’t much else I see. The “OmniSharp: Restart OmniSharp” and “OmniSharp: Select Project” commands show up on the palette, but when I try to run them, I get a command 'o.restart' not found
error:
The OmniSharp log doesn’t show up as a menu item on the Output tab either.
Any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top GitHub Comments
@jemhuntr Had the same and these steps helped me:
.vscode
directory from user homeDid the trick, sadly. Had to reinstall completely 😦