I am using this middleman project and trying to run the bower install and get the following...
bower not-cached git://github.com/jquery/jquery.git#~2.0
bower resolve git://github.com/jquery/jquery.git#~2.0
bower not-cached git://github.com/appleboy/normalize.scss.git#~2.1
bower resolve git://github.com/appleboy/normalize.scss.git#~2.1
bower not-cached git://github.com/Modernizr/Modernizr.git#~2.6.2
bower resolve git://github.com/Modernizr/Modernizr.git#~2.6.2
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery/jquery.git", exit code of #128
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection refused
Thanks!
To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you're looking for. Bower keeps track of these packages in a manifest file, bower.
To install Bower on Windows, you are required to install NPM (Node Package Manager) first. Using NPM, we can easily install the Bower front-end package manager. If you have installed NPM on windows, you can use the “npm install -g bower” command in the command prompt to install Bower on windows.
Bower has been deprecated by its creators The open source project continues to be maintained for the benefit of existing users, but this is a prime reason not to continue using the platform.
Bower can be classified as a tool in the "Front End Package Manager" category, while gulp is grouped under "JS Build Tools / JS Task Runners". Some of the features offered by Bower are: Bower operates at a lower level than previous attempts at client-side package management – such as Jam, Volo, or Ender.
I had a similar issue and was due my network had certain ports blocked. What I tried (and worked) was forcing git to use "https" connections instead of "git" ones. Hope it help:
git config --global url."https://".insteadOf git://
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