nuxt创建项目失败,Error: Failed to download template from registry: Failed to download https://raw.githubus
nuxt 创建项目失败 ,raw.githubusercontent.comv3.jsonError: Failed to download template from registry: Failed to download https://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json: TypeError:
·
报错详情
Error: Failed to download template from registry: Failed to download https://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json: TypeError: fetch failed
解决方案
- 去这个网站 https://www.ipaddress.com/ip-lookup 查询ip
- 然后根据结果改hosts(路径是 C:\Windows\System32\drivers\etc\hosts)
- 重新打开cmd窗口就能通过了。
更多推荐
所有评论(0)