yunxing / opam-npm

convert opam packages to npm
8 stars 12 forks source link

Cannot install cohttp in a fresh ReasonProject #13

Open titan opened 7 years ago

titan commented 7 years ago

The error output:

  • /dev/shm/http-server/node_modules/ocamlfind-actual/_build/ocamlfind/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package oUnit -package unix -o qCheck_ounit.cmi qCheck_ounit.mli File "qCheck_ounit.mli", line 31, characters 50-61: Error: Unbound module OUnit2 Command exited with code 2. Compilation unsuccessful after building 10 targets (0 cached) in 00:00:00. E: Failure("Command ''/dev/shm/http-server/node_modules/ocaml/bin/ocamlbuild' qcheck.cma qcheck.cmxa qcheck.a qcheck.cmxs qcheck_ounit.cma qcheck_ounit.cmxa qcheck_ounit.a qcheck_ounit.cmxs qCheck_ounit_test.byte -tag debug' terminated with error code 10") make: *** [Makefile:16: all] Error 1

It seems that the version of @opam-alpha/ounit is not correct?

unodgs commented 7 years ago

I have the same problem. Were you able to solve it somehow?