Visual Studio Code无法下载包

时间:2017-09-13 10:53:04

标签: visual-studio-code vscode-settings

我在Windows 10(Creators Edition)上运行Visual Studio Code 1.16.0。它无法下载软件包:

Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Windows)'  Failed. 
Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... 
Failed. Retrying...Waiting 16 seconds... Failed. Retrying...Waiting 32 
seconds...
Failed at stage: downloadPackages
Error: connect ETIMEDOUT 2.22.12.63:443
    at Object.exports._errnoException (util.js:1050:11)
    at exports._exceptionWithHostPort (util.js:1073:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

Finished

PC通过公司代理服务器连接到互联网。我可以从电脑上浏览互联网。

我需要更改哪种PC设置才能修复此错误?

1 个答案:

答案 0 :(得分:0)

通过设置VS代码“http.proxy”用户设置来修复。