File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ cd ReasonProject
3333npm 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
3843Once 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
254259steps 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
258270When ` npm install ` fails to install one of your dependencies, it's typically
You can’t perform that action at this time.
0 commit comments