jaredly / jaredly/reason_async
Error while installing from npm
- Dominant language
- OCaml
- Stars
- 67
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
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. (/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)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the failing npm install output and the referenced bs-platform/scripts/install.js locations at lines 106, 157, and 180. Trace how the installer reaches the missing compilerlibs/ocamlbytecomp.cma error on the reported Mac, Node, and npm versions. Done means npm i reason_async completes successfully without this build failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, ocaml
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100