I just ran an opam update/upgrade, with OCaml at version 4.06.1.
After that, I’m no longer able to run js_of_eliom:
$ js_of_eliom -o foo.js
File "_none_", line 1:
Error: Required module `Condition' is unavailable
I see the same error message with realistic command lines.
– Paul
borisd
2
Got same error with OCaml 4.05.0:
eliom-distillery -name myapp -template os.pgocaml
...
make test.byte
...
js_of_eliom -w +A-4-7-9-37-38-39-41-42-44-45-48 -jsopt +base/runtime.js -jsopt --dynlink -o _client/os_prologue.js -g -package lwt.ppx -package js_of_ocaml-ppx -package js_of_ocaml-ppx.deriving -package ppx_deriving.std -package ocsigen-start.client -package base \
-jsopt --noinline -jsopt --disable=shortvar -jsopt --pretty
File "_none_", line 1:
Error: Required module `Condition' is unavailable
Hi!
This is a dependency bug in js_of_ocaml 3.2.0.
Try with 3.1.0.
There is a pull request to fix this here:
Vincent
1 Like
Thanks! It turns that I don’t actually need js_of_ocaml in my project, so it’s no longer an issue for me.