Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Busayor2020 opened this issue Nov 10, 2023 · 0 comments

Comments

@Busayor2020
Copy link

Busayor2020 commented Nov 10, 2023

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

@danielroe danielroe transferred this issue from nuxt/nuxt Nov 13, 2023
@pi0 pi0 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 Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant