Skip to content

nuxi init fails with Failed to download template from registry: fetch failed #288

Closed

Description

@Busayor2020

Environment

This has been a consistent problem, and I have tried various solutions, including updating npm to the latest version and forcefully cleaning the npm cache. Unfortunately, the issue persists.

Steps to Reproduce:

  1. Open the terminal.
  2. Run the command: npx nuxi@latest init threads-clone.

Expected Behavior:
I expect the Nuxt project initialization to proceed without errors and the template to be downloaded successfully.

Actual Behavior:
The process fails with the error mentioned above.

C:\Users\HP>npx nuxi@latest init threads-clone   ERROR  Error: Failed to download template from registry: fetch failed

Environment Information:

  • Operating System: C:\Windows\system32\cmd.exe
  • Node.js Version: C:\Users\HP> node -v
    v20.9.0
  • npm Version: C:\Users\HP> npm -v
    10.2.3

Additional Context:
I have researched similar issues on the Nuxt GitHub page and have attempted solutions suggested in the documentation and community discussions. However, the problem persists.

I would greatly appreciate any assistance or guidance on resolving this issue. Thank you for your time and support.

Reproduction

C:\Users\HP>npx nuxi@latest init threads-clone

ERROR Error: Failed to download template from registry: fetch failed

Describe the bug

C:\Users\HP>npx nuxi@latest init threads-clone

ERROR Error: Failed to download template from registry: fetch failed

Additional context

No response

Logs

No response

Activity

  1. transferred this issue fromnuxt/nuxton Nov 13, 2023
  2. changed the title [-]**Issue Description:** I have been encountering a persistent issue for the past two weeks while trying to initialize a Nuxt project using the `npx nuxi@latest init threads-clone` command. The error message I'm receiving is: C:\Users\HP>npx nuxi@latest init threads-clone ERROR Error: Failed to download template from registry: fetch failed[/-] [+]`nuxi init` fails with `Failed to download template from registry: fetch failed`[/+] on Nov 16, 2023
  3. liamwang commented on Apr 7, 2025

    @liamwang

    My computer's connection to GitHub is ok.

    Image

    But there is still this issue.

    Image

  4. SDIjeremy commented on Nov 18, 2025

    @SDIjeremy

    getting same issue with v4.json

  5. harald-tsys commented on Feb 13, 2026

    @harald-tsys

    For me following helped behind corporate proxy (see: https://nodejs.org/en/learn/http/enterprise-network-configuration#proxy-configuration):

    export NODE_USE_ENV_PROXY=1

  6. marked nuxi init results in 404 #719 as a duplicate of this issue on Mar 18, 2026
  7. added theissue type on Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions