'I am getting an parsing error without any code written

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.



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arnav Thorat