问题
1. 执行 npx nuxi@latest init <project-name> 报错 ERROR Error: Failed to download template from registry: fetch failed
附带ip 链接 https://sites.ipaddress.com/raw.githubusercontent.com/
解决方法: 在C:\Windows\System32\drivers\etc目录下找到 hosts文件, 在hosts文件最后一行添加以下任意一行, 逐行尝试 (修改hosts文件时最好以vscode方式打开修改, 修改后保存以管理员身份运行)
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
nuxt3- 问题集合
最新推荐文章于 2024-07-12 16:27:40 发布