Proxy 尝试在windows中使用npm安装程序包时出现Get-ETimedOut错误
当我试图使用这个命令“npm install-g yo”时,我遇到了这个“ETimedOut”错误。实际上我正在使用网络代理来访问internet 我收到一条警告消息,“如果你在代理后面,请确保‘代理’配置设置正确”。 有人能帮我解决这个问题吗。您可以使用以下命令设置:Proxy 尝试在windows中使用npm安装程序包时出现Get-ETimedOut错误,proxy,npm,Proxy,Npm,当我试图使用这个命令“npm install-g yo”时,我遇到了这个“ETimedOut”错误。实际上我正在使用网络代理来访问internet 我收到一条警告消息,“如果你在代理后面,请确保‘代理’配置设置正确”。 有人能帮我解决这个问题吗。您可以使用以下命令设置: npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080 非常感谢。
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
非常感谢。我能够解决我的问题