Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building Wasm on OSX #96

Closed
johannbarbie opened this issue Jan 27, 2018 · 3 comments
Closed

Error when building Wasm on OSX #96

johannbarbie opened this issue Jan 27, 2018 · 3 comments

Comments

@johannbarbie
Copy link

i went through similar instructions on High Sierra:

brew install opam ocaml
opam init -y
eval $(opam config env)
opam install cryptokit yojson

Then encountered this error when executing make to build wasm:

# Error: This expression has type bytes but an expression was expected of type
#          string
@johannbarbie
Copy link
Author

looked up the error here: facebook/flow#5270

export OCAMLPARAM="safe-string=0,_"

solved the issue, all tests passing.

@mrsmkl
Copy link
Member

mrsmkl commented Jan 29, 2018

Hopefully this is fixed in #97

@mrsmkl
Copy link
Member

mrsmkl commented Sep 10, 2018

I guess this has now been fixed, we use a later version of OCaml now

@mrsmkl mrsmkl closed this as completed Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants