jaredly / jaredly/reason-language-server
Reason Language Server not downloaded by coc-reason on M1/Apple Silicon Macs
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
I run `:CocInstall coc-reason` in neovim.
No errors, except for this with `:CocInfo`
```
2021-04-25T02:01:10.061 ERROR (pid:24016) [extensions] - Error on active extension coc-reason: TypeError: (e.adapter || i.adapter) is not a function
at e.exports (/Users/Chris/.config/coc/extensions/node_modules/coc-reason/lib/index.js:8:1961)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/Chris/.config/coc/extensions/node_modules/coc-reason/lib/index.js:1:25124
at async Object.h [as activate] (/Users/Chris/.config/coc/extensions/node_modules/coc-reason/lib/index.js:1:24811) TypeError: (e.adapter || i.adapter) is not a function
at e.exports (/Users/Chris/.config/coc/extensions/node_modules/coc-reason/lib/index.js:8:1961)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/Chris/.config/coc/extensions/node_modules/coc-reason/lib/index.js:1:25124
```
The .config/coc/extensions/node_modules/coc-reason/rls folder just has a file named `CURRENT`.
Is this something to do with the arm architecture not matching?
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
Reproduce the issue with `:CocInstall coc-reason` and inspect the `:CocInfo` error, then read `coc-reason/lib/index.js` and the contents of the `rls` folder, especially `CURRENT`. Determine why the language server is not downloaded on M1/Apple Silicon Macs; done means coc-reason downloads the server and activates without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, neovim, ocaml
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100