jaredly / reason_async

65 stars 8 forks source link

Error while installing from npm #2

Open slonoed opened 6 years ago

slonoed commented 6 years ago

Mac OS: 10.13.2 Node: 8.9.4 Npm: 5.6.0

npm i reason_async gives me huge output and fails with an error. Here is the tail of output. Looks like some library is missing. Do you have any idea how can I fix it? Thanks!

File "_none_", line 1:
Error: I/O error: compilerlibs/ocamlbytecomp.cma: No such file or directory
make[4]: *** [compilerlibs/ocamlbytecomp.cma] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [coreall] Error 2
make[2]: *** [core] Error 2
make[1]: *** [opt.opt] Error 2
make: *** [world.opt] Error 2

    at checkExecSyncError (child_process.js:601:13)
    at Object.execFileSync (child_process.js:621:13)
    at tryToProvideOCamlCompiler (/Users/slonoed/_repos/frontlinks/repo/node_modules/reason_async/node_modules/bs-platform/scripts/install.js:106:27)
    at non_windows_npm_release (/Users/slonoed/_repos/frontlinks/repo/node_modules/reason_async/node_modules/bs-platform/scripts/install.js:157:9)
    at Object.<anonymous> (/Users/slonoed/_repos/frontlinks/repo/node_modules/reason_async/node_modules/bs-platform/scripts/install.js:180:5)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)