DonJayamanne/bowerVSCode

Not work behind proxy

akerd opened this issue · 1 comments

akerd commented

Hi, I tried to install and use your Bower extension for VSCode but it fails, probably because of missing proxy support.

When I try to Search and Install a package I get the following error in console:

error: Request to https://bower.herokuapp.com/packages/search/fontawesome failed: getaddrinfo ENOTFOUND bower.herokuapp.com bower.herokuapp.com:443
Code - ENOTFOUND

akerd commented

Sorry, nothing wrong with you extension, the problem was related to bower. I edited .bowerrc by adding proxy information and not it works like a charm.

I leave for reference maybe it could help other people:

{
"directory": "wwwroot/lib",
"registry": "http://bower.herokuapp.com",
"proxy":"proxy:port",
"https-proxy":"proxy:port",
"strict-ssl": false
}