jaredly / jaredly/reason-language-server
Unix.Unix_error(Unix.EACCES, "mkdir" ...
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
* Environment
MacOS 10.15
VSCode 1.39.2
bs-platform 5.0.6
reason-language-server 1.7.1
* Reproduce
1. Install this plugin
2. Open ".re" file (File Path: "/Volumes/Server HD/devel/my-first-app/src/Demo.re")
3. VS Code display this alert.
> Unix.Unix_error(Unix.EACCES, "mkdir", "/Volumes/Server%20HD")
> Raised by primitive operation at file "util/Files.re", line 192, characters 4-27
> Called from file "util/Files.re", line 191, characters 4-18
> Called from file "util/Files.re", line 191, characters 4-18
> Called from file "util/Files.re", line 191, characters 4-18
> Called from file "util/Files.re", line 191, characters 4-18
> Called from file "util/Files.re", line 191, characters 4-18
> Called from file "src/lsp/Main.re", line 50, characters 2-52
> Called from file "src/lsp/BasicServer.re", line 130, characters 13-38
Contributor guide
No contributing guide indexed for this repository
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 with util/Files.re around line 192, where the mkdir EACCES error is raised, and trace how it is reached from src/lsp/Main.re and src/lsp/BasicServer.re. Reproduce the report by opening the stated .re file on the given macOS setup. Done means the language server no longer attempts the failing mkdir for the encoded path and opening the file does not show this alert.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100