Patch http and https request method to use tunnel-agent
agent
option in every http and https request
$ npm install --save proxy-support -g
Most tools (which use request, got, etc...) are using global Agent from http
, so to fix proxy support you should do something like this:
alias node="node -r proxy-support"
This should work from [email protected].
MIT © Vsevolod Strukchinsky