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

后端 未结 24 1503
长情又很酷
长情又很酷 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:12

    git config --global url. "https://".insteadOf "git://"  
    

    was not working for me. So I found this alternative:

    Go to your temp folder. ( i.e. if you are using windows then C:\Users\{username}\AppData\Roaming\bower\cache\packages ). There you can see several files. Open each of them and you can see the URL. Change it from git://... to https://... and save all files.

    Now run the bower install.

提交回复
热议问题