javascript – Visual Studio Code Error: “Unterminated string in JSON at position 8192 (line 1 column 8193)”

I’m encountering the following error in Visual Studio Code:


2024-08-28 15:32:54.847 [error] Unterminated string in JSON at position 8192 (line 1 column 8193): SyntaxError: Unterminated string in JSON at position 8192 (line 1 column 8193)
    at JSON.parse ()
    at Object.factory (/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:79756)

This error seems to be related to the sharedProcessMain.js file, which is a core component of Visual Studio Code. I’ve tried disabling all extensions and checking for updates, but the issue persists.

Clearly, updating visual studio and disable all extensions did not resolve the issue. Those were expected to resolve the JSON string problem. Whenever I try to install the Python extensions. The error comes up that stops the download.

Read more here: Source link