Visual Studio Code: Exception : A JavaScript error occurred in the main process
Views (572)
Today while trying open any Visual Studio Code Project, I started getting this error ..

if anybody gets similar problem then it can be resolve in following two ways..
Resolution 1
Open Task Manager and Kill all existing Visual Studio Code Process and then re-open relevant Visual Studio Code Project

Resolution 2
Download latest version of Visual Studio Code and then install latest version this will also ensure this error goes away!
Hope this Helps..
This was originally posted here.
Comments
-
Visual Studio Code: Exception : A JavaScript error occurred in the main processI am having this same problem, and it is solved by re-intalling VScode. However I find I have to do this every time I close VScode. Is there any other solve I could try? I have tried solution 1 but that dose not seem to work for me.
*This post is locked for comments