I have just created my first asp.net 6 project.
However, whenever I try to install a bower package I get the following error (happens to all packages I attempt to install):
PATH=.\node_modules.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\Bower.cmd" install Jcrop#2.0.2 --production --force-latest --save bower Jcrop#2.0.2 not-cached https://github.com/tapmodo/Jcrop.git#2.0.2 bower Jcrop#2.0.2
resolve https://github.com/tapmodo/Jcrop.git#2.0.2 bower Jcrop#2.0.2
checkout v2.0.2 bower Jcrop#2.0.2 ECMDERR Failed to execute "git clone https://github.com/tapmodo/Jcrop.git -b v2.0.2 --progress . --depth 1", exit code of #-532462766
I have looked at the thread: VS 2015 + Bower: Does not work behind firewall
I have tried to disable my firewall and create a .gifconfig file in my user directory containing:
[url "https://github.com/"]
insteadOf = git@github.com:
[url "https://"]
insteadOf = git://
But nothing seems to work - I still get the error!
(I don't have git installed, other than what came with Visual Studio 2015)