-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi,
I've ecnountered an issue which I thought was caused by your extension.
I'm using Brackets on Windows with Git properly installed and added to PATH but whenever I tried to install a bower package all I got was: "Failed to install X" (X is the name of the package).
So, I installed bower separately to check for errors and I got:
C:\Angular>bower install angularjs
bower not-cached git://github.com/angular/bower-angular.git#*
bower resolve git://github.com/angular/bower-angular.git#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=No errorAdditional error details:
fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=No error
Unfortunately your extension does not display this message about connection problems so users will be quite puzzled as to what is going on and why packages are not being installed.
Fortunately this is something I have encountered on Linux with bower previously so I know the easiest solution is to switch from git:// to https:// as github provides access via both protocols.
So to solve the aforementioned issue just use this command:
git config --global url."https://".insteadOf git://