Bower calls blocked by corporate proxy

前端 未结 16 1235
夕颜
夕颜 2020-11-30 20:00

I\'m trying to use Bower for a web app, but find myself hitting some sort of proxy issues:

D:\\>bower search jquery
bower retry         Request to https:/         


        
16条回答
  •  时光取名叫无心
    2020-11-30 20:40

    its work for me to change in .bowerrc file

    {
     "directory": "client/lib", 
     "registry": "http://bower.herokuapp.com",
     "proxy":"http://192.168.1.205:3228",
     "https-proxy":"http://192.168.1.205:3228"
    }
    
    • where client/lib is installation directory where do you want to install
    • and http://192.168.1.205:3228 is your proxy ip with port. corporate proxy can be different according to oraganization.

提交回复
热议问题