Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

got unexpected token U in JSON #416

Closed
veksha opened this issue Jan 9, 2023 · 5 comments
Closed

got unexpected token U in JSON #416

veksha opened this issue Jan 9, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@veksha
Copy link

veksha commented Jan 9, 2023

Tried to make VLS work in vscode (Windows).
"got unexpected token U"

it is because backslashes in JSON strings must be escaped: "C:\Users.." -> "C:\\Users.."

image

@veksha veksha added the bug Something isn't working label Jan 9, 2023
@DJ-Dav
Copy link

DJ-Dav commented Mar 18, 2023

Same error here, I'm also running VSCode on Windows.
This should be an easy fix for someone who knows where the code for this message is, but I can't find it.

@veksha
Copy link
Author

veksha commented Mar 18, 2023

@DJ-Dav
Copy link

DJ-Dav commented Mar 18, 2023

Thanks, i will create a fork tomorrow, hopefully fix it, and create a pull request.

@DJ-Dav
Copy link

DJ-Dav commented Mar 19, 2023

Done, although i couldn't compile it to check it works, something about gcc not recognising -municode

@JalonSolov
Copy link

Try https://blog.vosca.dev/meet-v-analyzer/ instead, now that it is released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants