bower ECMDERR Failed to execute “git ls-remote --tags --heads > git@github.om:mobify/bellows.git”, exit code of #128

后端 未结 2 1953
借酒劲吻你
借酒劲吻你 2021-01-11 14:18

I am trying to install the pinny1.0 plugin using bower as:

bower install https://github.com/mobify/pinny.git#pinny-1.0

But meanw

相关标签:
2条回答
  • 2021-01-11 14:47

    That is indeed an odd error. Interestingly, the git URL looks malformed.

    git@github.om:mobify/bellows.git
    

    There's no 'c' in .com. It is also weird that pinny is trying to pull bellows in; they're totally unrelated.

    Could you let me know what OS and version of bower you're using?

    I'll try to reproduce this and let you know if I find anything.

    0 讨论(0)
  • 2021-01-11 14:51

    I had The same Problem with Install packages using Bower.

    This Problem happen because bower proxy configuration, you need to make bower use http:// Instead of git:// when install packages. you can Solve this problem using .bowerrc File.

    Just create .bowerrc File and set proxy and https-proxy configuration :

    {
      "proxy" : "http://<host>:<port>",
      "https-proxy" : "http://<host>:<port>"
    }
    

    More About Bower Documentation for .bowerrc File

    There Two Questions about bower proxy configuration in StackOverflow : First Question , second Question

    Update:

    IF the First Solution Does not Work, you can try suggest @thebignet into same issue on GitHub

    Set proxy, https-proxy and strict-ssl configuration into .bowerrc File :

    {
      "proxy"       : "http://<host>:<port>",
      "https-proxy" : "http://<host>:<port>",
      "strict-ssl"  : false
    } 
    

    But you must run Command from terminal:

    git config --global url."https://".insteadOf git://
    
    0 讨论(0)
提交回复
热议问题