报错详情

Error: Failed to download template from registry: Failed to download https://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json: TypeError: fetch failed

在这里插入图片描述

解决方案

在这里插入图片描述

  • 然后根据结果改hosts(路径是 C:\Windows\System32\drivers\etc\hosts)
    在这里插入图片描述

在这里插入图片描述

  • 重新打开cmd窗口就能通过了。
    在这里插入图片描述

在这里插入图片描述

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐