Bower calls blocked by corporate proxy

前端 未结 16 1267
夕颜
夕颜 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:56

    I am behind corporate firewall and I have to specify domain name too. None of these answers worked for me. Here is what I did -

    1. Downloaded CNTLM from http://cntlm.sourceforge.net/
    2. Obviously installed it.
    3. Open up cntml.ini and change the following

      Domain your_domain_name

      Username your_domain_username

      Password your_domain_passowrd

      PassLM 1AD35398BE6565DDB5C4EF70C0593492 (uncomment this)

      PassNT 77B9081511704EE852F94227CF48A793 (uncomment this too)

      Proxy http://localhost:8888

    4. Go to services.msc and start the CNTLM Authentication service.

    5. Download Fiddler 4/2 (whatever they call it).
    6. Install this too. This will run in http://localhost:8888
    7. Now whatever program you’re running forward(proxy) it to http://locahost:3128 ( that’s what CNTLM is running.)

    In this case specify http.proxy and https.proxy as http://localhost:8888

    This will work for other client programs. Just specify proxy as http://localhost:8888

提交回复
热议问题