Git / Bower Errors: Exit Code # 128 & Failed connect

后端 未结 24 1452
长情又很酷
长情又很酷 2020-11-30 21:42

I am using Bower to install several libraries. For demonstration purposes here, I am installing bootstrap. Regardless of the package, I receive the following errors:

24条回答
  •  伪装坚强ぢ
    2020-11-30 22:14

    I came across this with my corporate network.

    It seemed strange because I've always been using ssh to connect with git and never had an issue.

    I tried https and didn't work so I added proxy settings to git's config and all was well

    git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
    git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
    

    And making sure it worked

    git config --list
    

提交回复
热议问题