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:/
For Win 7.
What worked for me , are below steps as suggested at this link - read #nanowizard answer.
In .bowerrc
file, remove any http_proxy / https_proxy settings that
you might have done earlier. This is important.
So final content of this file should look like :-
{
"directory": "app/bower_components"
}
Set environment variables in your pc - http_proxy
and https_proxy
to your corporate firewall proxy. In case, your corporate proxy requires authentication and if your password contains special characters, convert it to hex form as suggested by this link. As in my case escaping of characters with '\' did not help. Also I had to restart my system.
Note : http_proxy and https_proxy should contain same proxy address as shown below
http_proxy = http://:@:
https_proxy= http://:@: ->Note no 's' in http://...