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 results in 404 #719

Open
Jos620 opened this issue Feb 1, 2025 · 2 comments
Open

nuxi init results in 404 #719

Jos620 opened this issue Feb 1, 2025 · 2 comments

Comments

@Jos620
Copy link

Jos620 commented Feb 1, 2025

The command nuxi init results in the following error:

Need to install the following packages:
[email protected]
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://raw.githubusercontent.com/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:  [email protected]
- Builder:          -
- User Config:      -
- Runtime Modules:  -
- Build Modules:    -
------------------------------

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

node -e "fetch('https://raw.githubusercontent.com/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://codeload.github.com/nuxt/starter/tar.gz/refs/heads/v3'
}
@Jos620
Copy link
Author

Jos620 commented Feb 1, 2025

I did some testing. I'm able to create a project using [email protected]. Any version after this one results in the 404 error.

@Jos620
Copy link
Author

Jos620 commented Mar 19, 2025

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://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json: 404 Not Found

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