jaredly / reprocessing-example-cross-platform

A boilerplate example for getting cross-platform reprocessing games off the ground
51 stars 6 forks source link

Compilation error when installing dependencies with yarn #1

Open arielschiavoni opened 6 years ago

arielschiavoni commented 6 years ago

Hi Jared,

I am trying to run this example but I can't due I get the following error while installing the dependencies with yarn.

yarn install v1.3.2 info No lockfile found. [1/4] πŸ” Resolving packages... [2/4] 🚚 Fetching packages... [3/4] πŸ”— Linking dependencies... [4/4] πŸ“ƒ Building fresh packages... [1/7] β‘€ sdl2 [2/7] β‘€ ppx-env: ninja: Entering directory lib/bs' [3/7] β’€ matchenv: [2/3] Building src/index.mlast [4/7] β’€ bs-platform error /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv: Command failed. Exit code: 2 Command: bsb && cp lib/bs/native/index.native matchenv Arguments: Directory: /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv Output: ninja: Entering directorylib/bs' [1/3] Building Matchenv.cmi [2/3] Building src/index.mlast [3/3] Building src/index.mlast.d [1/1] Building src/index-Matchenv.cmj FAILED: src/index-Matchenv.cmj /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv/lib/js/src/index.js src/index-Matchenv.cmi /usr/local/lib/node_modules/bs-platform/lib/bsc.exe -bs-package-map matchenv -bs-package-output commonjs:lib/js/src -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include -I . -I src -w -30-40+6+7+27+32..39+44+45+101 -nostdlib -I '/Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/bs-platform/lib/ocaml' -no-alias-deps -color always -bs-re-out -bs-super-errors -o src/index-Matchenv.cmj -c src/index.mlast

We've found a bug for you! command line

The module or file Pervasives can't be found.

Thanks!

Pet3ris commented 5 years ago

+1 I'm experiencing the same issue.

putrasurya commented 5 years ago

me too