V
V
Viktor Yanyshev2017-10-04 10:11:21
linux
Viktor Yanyshev, 2017-10-04 10:11:21

Setting a proxy for bower?

On firsvds vps, Ubuntu 16.04 OS, created a git user, installed git, npm, composer, bower.
I clone the project repository from git, install composer dependencies, then I want to install dependencies from bower, but I get an error:
bower search leads to ECONNREFUSED #1049
Googling found a solution, this is to specify a proxy in .bowerrc:

{
 "proxy": "http://user:[email protected]:port/" 
}

But here I don’t quite understand what should be in the role of a proxy so that dependencies from the bower turnip would be drawn? Raise a proxy server to access the bower repositories through it?
Explain to me what I need to do to make the bower work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question