当前位置:   article > 正文

Vue安装时报错Failed to download repo vuejs-templates/webpack: connect ETIMEDOUT 192.30.255.112:443

192.30.255.112:443

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 HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号