Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BS 7.2.0 + RLS 1.7.7: Belt_Option not found #414

Open
cknitt opened this issue Mar 3, 2020 · 6 comments
Open

BS 7.2.0 + RLS 1.7.7: Belt_Option not found #414

cknitt opened this issue Mar 3, 2020 · 6 comments

Comments

@cknitt
Copy link

cknitt commented Mar 3, 2020

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 "<XXX>/node_modules/.lsp/<YYY>.ast", line 1:
Error: Belt_Option not found, it means either the module does not exist or it is a namespace
@bobzhang
Copy link
Contributor

bobzhang commented Mar 3, 2020

It seems rls does not re-construct the command args properly from .merlin.
The robust way is to get it from build system. Will try to see if there is an easy fix first

@bobzhang
Copy link
Contributor

bobzhang commented Mar 3, 2020

there is another (old) issue for projects setup with bsb -init

 Could not run bsb (ran /Users/hongbozhang/git/c0004/node_modules/.bin/bsb -version

@bobzhang
Copy link
Contributor

bobzhang commented Mar 3, 2020

trying to debug it locally @jaredly any hint how to test it locally?
Screenshot 2020-03-03 at 9 35 12 PM

@bikallem
Copy link

bikallem commented Mar 5, 2020

Can confirm I am facing the same issue after upgrading to rls 1.7.7 and 1.7.8 and bs-platform 7.2.0.

@bobzhang
Copy link
Contributor

bobzhang commented Mar 5, 2020 via email

@cknitt
Copy link
Author

cknitt commented Mar 6, 2020

@bobzhang Works fine now with BS 7.2.1-dev.1 and RLS 1.7.8. 👍So I guess this issue can be closed.

Thanks a lot for your great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants