报错详情

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 云服务平台

更多推荐