I have to admit, Reason is a bit more obscure.
I installed bs-platform and still got errors from my IDE about bs-platform missing.
Which was strange, since I used the bs-platform CLI tools.
Turns out you also had to have bs-platform installed locally, but the error messages didn't say anything about this, just "bs-platform not found".
This shouldn't happen, did you make sure to yarn install and restart the reason language server?
Maybe that was my problem, many project setup tools do the install automatically, you just need to cd and npm start.
Re:TypeScript vs. ReasonML
by johnisgood on Wednesday September 04, 2019 @11:07AM
(#20877855)
I typically install all what you listed, and tuareg. Worth noting that after installing these packages, they tell you how to configure your text editor, or you can choose to let them handle it for you automatically (IIRC). So yes, it is pretty easy to set OCaml up.
FWIW, this was much worse when I did it a couple of years ago. I think the ecosystem has made pretty big strides recently, much of which came from standardizing on dune as the canonical build system.