rescript-lang / rescript-lang/rescript-vscode
Parsing JSON from reanalyze failed.
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
Getting this error with rescript-vscode v1.10.0 on ubuntu22(wsl2), the version of rescript is v10.0.1
Parsing JSON from reanalyze failed. The raw, invalid JSON can be reproduced by following the instructions below. Please run that command and report the issue + failing JSON on the extension bug tracker: https://github.com/rescript-lang/rescript-vscode/issues
> To reproduce, run "/home/ming/.vscode-server/extensions/chenglou92.rescript-vscode-1.10.0/server/analysis_binaries/linux/rescript-editor-analysis.exe reanalyze -json" in directory: "/home/ming/projects/mng-gif-maker-v6/res/gif-compress"
I reran rescript-editor-analysis.exe in directory /home/ming/projects/mng-gif-maker-v6/res/gif-compress, the result json is below:
reanalyse-log.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported rescript-editor-analysis.exe reanalyze -json command in the provided project directory and inspect reanalyse-log.txt. Compare the command output with the parsing error, then determine what change would make reanalyze produce valid JSON without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100