Skip to content

nuxi init results in 404 #719

Closed as duplicate
Closed as duplicate

Description

@mateus-ito

The command nuxi init results in the following error:

Need to install the following packages:
nuxi@3.21.1
Ok to proceed? (y)


[nuxi 11:28:51 AM]  ERROR  Error: Failed to download template from registry: Failed to download v3 template info from https://github.com/raw/nuxt/starter/templates/templates/v3.json: 404 Not Found

This issue was already created but closed before had a solution: #456.

npx nuxi info output:

------------------------------
- Operating System: Darwin
- Node Version:     v22.13.0
- Nuxt Version:     -
- CLI Version:      3.21.1
- Nitro Version:    -
- Package Manager:  npm@10.9.2
- Builder:          -
- User Config:      -
- Runtime Modules:  -
- Build Modules:    -
------------------------------

My machine is able to access the template file since running:

node -e "fetch('https://github.com/raw/nuxt/starter/templates/templates/v3.json').then(r => r.json()).then(console.log)"

Results in:

{
  name: 'v3',
  defaultDir: 'nuxt-app',
  url: 'https://nuxt.com',
  tar: 'https://github.com/proxy/codeload.github.com/nuxt/starter/tar.gz/refs/heads/v3'
}

Activity

  1. mateus-ito commented on Feb 1, 2025

    @mateus-ito
    Author

    I did some testing. I'm able to create a project using nuxi@3.2.0. Any version after this one results in the 404 error.

  2. mateus-ito commented on Mar 19, 2025

    @mateus-ito
    Author

    Update: the same issue still happens when creating with the new npm create nuxt@latest. This is the output I got:

    > npx
    > create-nuxt
    
    
            .d$b.
           i$$A$$L  .d$b
         .$$F` `$$L.$$A$$.
        j$$'    `4$$:` `$$.
       j$$'     .4$:    `$$.
      j$$`     .$$:      `4$L
     :$$:____.d$$:  _____.:$$:
     `4$$$$$$$$P` .i$$$$$$$$P`
    
    ℹ Welcome to Nuxt!                                                                                              nuxi  12:44:33 AM
    
    ✔ Where would you like to create your project?
    nuxt-app
    ℹ Creating a new project in nuxt-app.                                                                           nuxi  12:44:34 AM
    
    [ nuxi  12:44:34 AM]  ERROR  Error: Failed to download template from registry: Failed to download v3 template info from https://github.com/raw/nuxt/starter/templates/templates/v3.json: 404 Not Found
    
  3. danielroe commented on Mar 31, 2025

    @danielroe
    Member

    Do you have any system-wide proxy configuration?

  4. mateus-ito commented on Apr 1, 2025

    @mateus-ito
    Author

    No. I even formatted my laptop a few days ago, but the issue still happens. I also tried using different Wi-Fi networks (this is the notebook I carry everywhere), but still no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions