So I'm using Tortoise Git, and I'm trying to install the json_object package from git. When running pub install I get this error:
Cannot install 'json_object' from Git (git://github.com/chrisbu/dartwatch-JsonObject.git). Please ensure Git is correctly installed.
How can I make sure Git is installed correctly? I'm using Windows 7 64 bits.
This could be related to issue 4947
Run pub from Windows shell with git installed and available in
PATH:
D:\Tools\dart\dart-sdk\bin\pub install
Cannot install 'dartlib' from Git (git://github.com/kevmoo/dartlib.git).
Please ensure Git is correctly installed.
git --version
git version 1.7.7.1.msysgit.0
Seems, that this issue related to Issue 1705 as git is available as
git.cmd.Replacing "
git" to "git.cmd" atpub's sources (io.dartandgit_source.dart) fixespubfor my environment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With