You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had problems building VSCode behind the HTTP+HTTPS proxy related to tunnel-agent, details here: microsoft/vscode#24805
Summary of the problem:
I managed to debug the issue - it seems like tunnel-agent expects request options to contain references to .host and .port directly at top dictionary level while somehow in current vscode npm modules options has it wrapped into a contained host dictionary:
Hello,
I've had problems building VSCode behind the HTTP+HTTPS proxy related to
tunnel-agent
, details here: microsoft/vscode#24805Summary of the problem:
I managed to debug the issue - it seems like
tunnel-agent
expects requestoptions
to contain references to.host
and.port
directly at top dictionary level while somehow in current vscode npm modulesoptions
has it wrapped into a containedhost
dictionary:Changing file
vscode\node_modules\tunnel-agent\index.js
, functioncreateSocket
from:to
and in
createSecureSocket
from:to
fixed the issue, after that
npm install [email protected]
worked without a problem.To reiterate, this only happens behind http+https proxy. I've built vscode at home while not behind the proxy and it all worked without a hitch.
The text was updated successfully, but these errors were encountered: