N
N
Nikolai Novosad2015-09-29 09:24:23
Node.js
Nikolai Novosad, 2015-09-29 09:24:23

Specify proxy in NodeJs?

Hello.
When entering the command , I got an npm install -g karmaerror that you need to specify a proxy. My Internet is really through a proxy.
But where and how to specify a proxy? Through the command npm config editand in the file, uncomment the proxy and enter your own there?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur Shemsedinov, 2015-09-29
@nik_neman

npm config set proxy http://user:[email protected]:8080

D
Dima, 2017-05-22
@v_m_smith

also

npm config set https-proxy http://user:[email protected]:8080

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question