Vue安装时报错Failed to download repo vuejs-templates/webpack: connect ETIMEDOUT 192.30.255.112:443
这是因为github的问题
1.打开终端(cmd),输入命令:ping 192.30.255.112 发现连接超时(这个地址是你报错时显示的地址);输入命令:ping github.com 显示超时。
2.打开地址:C:\Windows\System32\drivers\etc ,然后打开 hosts文件,查看是否为默认配置。如果不是默认配置,修改成默认配置。默认配置如下:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOS
原创
2020-12-04 16:50:47 ·
2035 阅读 ·
0 评论