I'm trying to build flow so that I can make modifications to their code and build my own version to use and test. But when I'm trying to build it, it dies. The following steps were used:
- Install OCaml (followed steps from https://ocaml.org/docs/install.html)
- Install Opam
Run:
opam update opam pin add flowtype . -n opam install --deps-only flowtype
Then, I tried to make it:
make
At the very first seconds, it dies with:
ocamlbuild \
-use-ocamlfind -pkgs compiler-libs.common,unix \
-I scripts \
scripts/ppx_gen_flowlibs.native
+ ocamlfind ocamldep -package wtf8 -package dtoa -package unix -package compiler-libs.common -modules scripts/ppx_gen_flowlibs.ml > scripts/ppx_gen_flowlibs.ml.depends
ocamlfind: Package `wtf8' not found
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:01.
Makefile:300: recipe for target '_build/scripts/ppx_gen_flowlibs.native' failed
make: *** [_build/scripts/ppx_gen_flowlibs.native] Error 10
It is possible that only I missed something, but I'm not really into OCaml and Opam at the moment.