jaredly / jaredly/reason-language-server

BS 7.2.0 + RLS 1.7.7: Belt_Option not found

Open
#414 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

I have tested BS 7.2.0 + RLS 1.7.7 in two different projects. In both projects, in any file that uses Belt.Option, I got the following error message at the first line of the file:

```
File "/node_modules/.lsp/.ast", line 1:
Error: Belt_Option not found, it means either the module does not exist or it is a namespace
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error in a project using BS 7.2.0 and RLS 1.7.7 with a file that references Belt.Option. Start by examining the generated node_modules/.lsp/.ast file and the language-server module lookup; done means Belt.Option no longer reports “Belt_Option not found” in both reported projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.