vim-reason-plus
vim-reason-plus copied to clipboard
node_modules/bs-platform/lib/bsppx.exe -bs-jsx 3: No such file or directory File ""
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.
This seems to be related to this: https://github.com/jaredly/reason-language-server/issues/232. Same error in visual studio code.
Hi! This is related to https://github.com/jaredly/reason-language-server/issues/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 '
.
Yes that fixed the issue.
@MarcCoquand / @VinSpee In my project, whenever I make the above change, it gets instantly overwritten when I open nvim. Is there any workaround?
Nvm the issue cleared up with the newest release of Reason Language Server.