Home > Software engineering >  I am getting an parsing error without any code written
I am getting an parsing error without any code written

Time:03-24

Parse error on line 1:

^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got '1'

I get this error every type I type text, I get this error for no reason. Image Here

Edit: I have reinstalled vscode and I no longer get this error.

CodePudding user response:

Reinstalling Visual Studio Code might help resolve the error.


To uninstall on Windows, type in appwiz.cpl in the Start menu search. Then, find Visual Studio Code, right-click on it, and select Uninstall.

To uninstall on Mac, go to Finder > Application, and delete the Visual Studio Code application.

Uninstalling on Linux is a bit trickier, but you can see the documentation.


To install the software, go to code.visualstudio.com.

  • Related