Open jordwest opened 7 years ago
Github won't let me attach a tar of node_modules (too big) but I ran npm shrinkwrap
inside reason-cli
and dumped the result here: https://gist.github.com/jordwest/d820f280a6e30fd5cbc1f21bd295f3dc
It's working again 🎉
Fixed by following @jordwalke's suggestion:
➜ rm -rf ~/.esy/ # <- This seems to be the solution
➜ npm uninstall -g reason-cli
➜ npm install -g git://github.com/reasonml/reason-cli.git#beta-v-1.13.5
➜ ocamlmerlin -version
The Merlin toolkit version 2.5.4, for Ocaml 4.02.3
Merlin is also now booting correctly in VSCode, and rtop
starts.
It seems like somehow I ended up with an ocaml build that worked at first, but then got messed up somehow. It wasn't rebuilt when reason-cli
was uninstalled/reinstalled, so the problem persisted until removing ~/.esy
. Perhaps that suggestion could be added to the "ocaml is not installed correctly" error message? I'm happy to open a PR to do so.
cc @andreypopp re the chat on Discord
./node_modules/.bin/bsb -w
works fine, however runningocaml
orocamlmerlin
both fail:rtop
also returns a strange error:It may be related, but vscode doesn't seem to be able to boot merlin either - it just shows
[loading]
endlessly; while the output shows:I've tried uninstalling and reinstalling
reason-cli
on both master andbeta-v-1.13.5
, I've tried npm and yarn, switching to a different node version with nvm, updating npm, but none of these seem to have any effect.Currently running: