rescript-vscode
rescript-vscode copied to clipboard
Something went wrong parsing the json output of reanalyze: 'SyntaxError: Unexpected token W in JSON at position 4'
Something went wrong parsing the json output of reanalyze: 'SyntaxError: Unexpected token W in JSON at position 4'
I can't find the output that causes this error in the logs.
Two repros:
- repro the issue
- repro of the insufficient error message (should show the command being run)
It's the same repro needed but 2 aspects to it.
We've talked about this before - we should log to the extension console what the json that broke is. Should be easy enough.
Can you try again from the latest beta extension from the marketplace? E.g. 1.5.17 It should give a better error helping reproducing the issue.
I have updated to 1.5.17 and will see if it happens again.
Closing this meanwhile, feel free to reopen.