Skip to content

Commit 6b4d535

Browse files
authored
Update index.html
1 parent c43895c commit 6b4d535

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
npm install
6161
```
6262
63+
> Note: Disable any `ocaml` global compilers you have in your `PATH`. If you already
64+
have an ocaml compiler installed via `opam`, disable the line in your `~/.bashrc`
65+
that sources the `opam` environment. You may even want to uninstall any `ocaml`
66+
compilers that you installed via `brew`. (We are working on a fix to this problem).
67+
6368
## Project Commands
6469
6570
Once built, `ReasonProject` generates an *environment* that you can temporarily
@@ -277,6 +282,14 @@
277282
(to avoid using a stale cache). Then if that doesn't work, follow the following
278283
steps to debug your specific failed dependency.
279284
285+
Also, remember to disable any system ocaml compilers that you have in your PATH.
286+
For example, if you installed an OCaml compiler via opam, comment out the line in
287+
your `~/.bashrc` or `~/.bash_profile` that source the opam environment,
288+
and then open a new shell.
289+
290+
> Note: We will soon make it impossible for these kinds of conflicts to occur.
291+
292+
280293
#### Debugging Failed Dependencies
281294
282295
When `npm install` fails to install one of your dependencies, it's typically

0 commit comments

Comments
 (0)