Skip to content

Commit c43895c

Browse files
authored
Update README.md
1 parent b65405b commit c43895c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ cd ReasonProject
3333
npm install
3434
```
3535

36+
> Note: Disable any `ocaml` global compilers you have in your `PATH`. If you already
37+
have an ocaml compiler installed via `opam`, disable the line in your `~/.bashrc`
38+
that sources the `opam` environment. You may even want to uninstall any `ocaml`
39+
compilers that you installed via `brew`. (We are working on a fix to this problem).
40+
3641
## Project Commands
3742

3843
Once built, `ReasonProject` generates an *environment* that you can temporarily
@@ -253,6 +258,13 @@ directory that was installed, and then try reinstalling using `npm install -f`
253258
(to avoid using a stale cache). Then if that doesn't work, follow the following
254259
steps to debug your specific failed dependency.
255260

261+
Also, remember to disable any system ocaml compilers that you have in your PATH.
262+
For example, if you installed an OCaml compiler via opam, comment out the line in
263+
your `~/.bashrc` or `~/.bash_profile` that source the opam environment,
264+
and then open a new shell.
265+
266+
> Note: We will soon make it impossible for these kinds of conflicts to occur.
267+
256268
#### Debugging Failed Dependencies
257269

258270
When `npm install` fails to install one of your dependencies, it's typically

0 commit comments

Comments
 (0)