Skip to content

Failed to download

如果提示以下错误

Error: Failed to download template from registry: Failed to download https://raw.githubusercontent.com/nuxt/starter/

访问 ipaddress.com 网站,获取ip地址

image-20240228003035198

然后获取 ip 地址

image-20240228003055550

使用 SwitchHosts 设置hosts 文件

185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.108.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
2606:50c0:8000::154 raw.githubusercontent.com
2606:50c0:8002::154 raw.githubusercontent.com
2606:50c0:8001::154 raw.githubusercontent.com
2606:50c0:8003::154 raw.githubusercontent.com