Skip to main content

bower install Error (ECMDERR Failed to execute "git ls-remote ~~)

I found funny error during doing with "bower install".

I google and some guys recommended to change from "git://" to "https://". but I was curious and just changed the network connection to smartphone tethering". Everything was OK.

In my network, using git is not permitted? funny!

Anyway, I leave my experience as below.

 Total 13ms
        Warning: Errno::ENOENT on line ["33"] of /Users/mac/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/exec/global_options_parser.rb: No such file or directory - /Users/mac/git/example/app/bower_components
    Run with --trace to see the full backtrace Use --force to continue.
       
        Aborted due to warnings.

or

bower jquery#~1.10.2           ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/components/jquery.git", exit code of #128

=> change network (SSL -> normal or hotspo ?)

cf. git config --global url."https://".insteadOf git://
https://github.com/bower/bower/issues/689

Comments