报错vue-cli . failed to download repo vuejs-template/webpack connect ETIMEDOUT 13.250.177.223:443

vue init webpack-simple mytest

报错vue-cli . failed to download repo vuejs-template/webpack-simple connect ETIMEDOUT 13.229.188.59:443

解决方法

1、打开http://ping.chinaz.com

vue init webpack mytest报错
2、输入github.com

3、单击“Ping检测”按钮

4、在下面的ip中选择一个相应时间正常的,

vue init webpack mytest报错

5 然后在电脑的hosts文件中添加140.82.113.3 github.com

6、在终端输入 ping github.com,如果通了,就可以了

相关文章:

  • 2021-12-09
  • 2021-05-21
  • 2021-12-03
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-06-24
  • 2021-04-10
猜你喜欢
  • 2021-04-30
  • 2021-05-21
  • 2021-09-18
  • 2021-10-07
相关资源
相似解决方案