reasonml / reason-cli

Globally installable Reason toolchain.
MIT License
291 stars 23 forks source link

Reason cli global installation by yarn vs npm #94

Open nimish-gupta opened 5 years ago

nimish-gupta commented 5 years ago

Getting this weird error in reason vscode extension https://www.dropbox.com/s/okzqbp86jjcbj4c/Screenshot%202018-12-04%2022.58.30.png?dl=0

So I try reinstalling the reason-cli with yarn global add reason-cli@latest-macos. The error doesn't go, again I try installing using npm npm install -g reason-cli@latest-macos, extension starts working.

Is there any difference in installing reason-cli globally with npm vs yarn.

System Config -> node- v8.6.0 npm- v5.3.0 yarn- v1.3.2 os- macOS High Sierra Version 10.13.6

nimish-gupta commented 5 years ago

Further both npm and yarn are installing the ocamlmerlin at the same location yarn -> https://www.dropbox.com/s/kzfiubij1bwnvhs/Screenshot%202018-12-04%2023.45.04.png?dl=0 npm -> https://www.dropbox.com/s/25vdr4vh6nf9hsi/Screenshot%202018-12-04%2023.45.19.png?dl=0