Since I have the same issue as in Bower calls blocked by corporate proxy I have created a config.bowerrc file in AppData/Roaming/... as shown below:
with the following in it - edited with my own settings:
{
"directory": "library",
"registry": "http://bower.herokuapp.com",
"proxy":"http://<USERNAME>:<PASSWORD>@<PROXY_IP>:<PROXY_PORT>/",
"https-proxy":"http://<USERNAME>:<PASSWORD>@<PROXY_IP>:<PROXY_PORT>/"
}
However, this does not seem to work as I still get the following message in Visual Studio:
Where should the global config.bowerrc file which sets the proxy be located?
. bowerrc file located in user's home folder ( ~ )
The name of the bower configuration file should be .bowerrc
It can be located in one of the following:
%USERPROFILE%
)%APPDATA%/bower/config
The config is obtained by merging multiple configurations by this order of importance. Local .bowerrc file has the highest precedence while the global one has the lowest (CLI arguments and environment variables has higher precedence than the bowerrc file).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With