yarn global add doesn't work
I think yarn just doesn't like this particular form of dependency specification:
[~/development]$ yarn global add git://github.com/reasonml/reason-cli.git *[master]
yarn global v0.20.3
[1/4] Resolving packages...
error Couldn't find manifest in "git://github.com/reasonml/esy.git".
we might just need to write the git URL slightly differently.
@jordwalke I had no trouble using https as the protocol:
yarn global add https://github.com/reasonml/reason-cli.git
yarn global v0.20.3
warning No license field
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Installed "[email protected]" with binaries:
- ocamlmerlin-reason
- ocamlrun
- ocamlc
- ocamlopt
- ocaml
- rtop
- utop
- refmt_merlin
- refmt
- refmttype
- reopt
- rebuild
- reactjs_jsx_ppx
- berror
- ocamlmerlin
warning No license field
✨ Done in 605.91s.
That is excellent to hear. Did you have any trouble actually running them?
Hey, I've tried yarn global add git://github.com/reasonml/reason-cli.git#beta-v-1.13.6-bin-darwin and it works
yarn version v0.24.6
@oriSomething Thanks for the datapoint.
I've also been able to use yarn global add https://github.com/reasonml/reason-cli/archive/3.0.1-bin-darwin.tar.gz