No working prebuilt compiler


#1

Hi all

When I install bs-platform it says:

> bs-platform@2.2.3 postinstall /home/developer/Desktop/react-reason/piggycoins/node_modules/bs-platform
> node scripts/install.js

No working prebuilt compiler
/bin/sh: 1: ocamlc.opt: not found
Build a local version of OCaml compiler, it may take a couple of minutes
configure again with local ocaml installed  

What does the information mean? Especially No working prebuilt compiler.

Thanks


#2

It means there is no OCaml compiler available in scope for compiling Bucklescsript. So the installer will install Ocaml compiler first


#3

bs-platform comes with ocaml in case you don’t have it installed globally, it’ll build it for you automatically (it has no external dependencies basically)


#4

It REALLY slows down installation/reinstallation. Is there a way to install the “prebuilt compiler”?


#5

I think the newest versions of bucklescript on npm come with a lot of pre-built stuff. How long does it take on your machine?