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

node_modules/bs-platform/lib/bsppx.exe -bs-jsx 3: No such file or directory File "" #23

Open
MarcCoquand opened this issue May 4, 2019 · 5 comments

Comments

@MarcCoquand
Copy link

MarcCoquand commented May 4, 2019

When trying to use vim-reason-plus I get the following error:

sh: node_modules/bs-platform/lib/bsppx.exe -bs-jsx 3: No such file or directory File "", line 1: Error: Error while running extern.....

However compiling reasonml works fine otherwise. It's just in the editor I get this error. Formatting still works fine however hovering does not. I'm using Coc.vim and ale however removing these doesn't change anything.

@MarcCoquand
Copy link
Author

This seems to be related to this: jaredly/reason-language-server#232. Same error in visual studio code.

@VinSpee
Copy link

VinSpee commented May 11, 2019

Hi! This is related to jaredly/reason-language-server#275 and can be fixed like this:

open the .merlin file in your project

-FLG -ppx '/Users/vincentspeelman/Projects/reason-repo-list/node_modules/bs-platform/lib/bsppx.exe -bs-jsx 3'

+FLG -ppx '/Users/vincentspeelman/Projects/reason-repo-list/node_modules/bs-platform/lib/bsppx.exe' -bs-jsx 3

note the change in the placement of the second '.

@MarcCoquand
Copy link
Author

Yes that fixed the issue.

@hew
Copy link

hew commented May 19, 2019

@MarcCoquand / @VinSpee In my project, whenever I make the above change, it gets instantly overwritten when I open nvim. Is there any workaround?

@hew
Copy link

hew commented May 22, 2019

Nvm the issue cleared up with the newest release of Reason Language Server.

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