VUE init报错:Failed to download repo vuejs-templates/webpack-simple: connect ETIMEDOUT 192.30.253.113:

VUE init报错:Failed to download repo vuejs-templates/webpack-simple: connect ETIMEDOUT 192.30.253.113:443

这个问题是由于连接github超时造成的

1. https://www.ipip.net/ip.html查找github的ip地址

VUE init报错:Failed to download repo vuejs-templates/webpack-simple: connect ETIMEDOUT 192.30.253.113:

2.在目录下C:\Windows\System32\drivers\etc找到hosts文件

VUE init报错:Failed to download repo vuejs-templates/webpack-simple: connect ETIMEDOUT 192.30.253.113:

3.打开cmd

vue init webpack 项目名称
即可