Closed davidjbradshaw closed 3 weeks ago
hi please use "npx nuxi info" to have version of node and nuxt .
i use nuxi 3.11 and works for me try " npx nuxi@3.11.0 init
Same problem here.
npx nuxi info
outputs:
- Operating System: `Darwin`
- Node Version: `v18.20.3`
- Nuxt Version: `-`
- CLI Version: `3.13.1`
- Nitro Version: `-`
- Package Manager: `unknown`
- Builder: `-`
- User Config: `-`
- Runtime Modules: `-`
- Build Modules: `-`
Running with version 3.11 didn't work as well.
-t
is meant to point to the path of a template (for example, on github, with something like -t gh:danielroe/template
).
In your case, just run npx nuxi init my-project
@danielroe running npx nuxi init my-project
throws the exact same error:
try npx nuxi@latest init nuxt-app
npx nuxi@latest init nuxt-app
raises the same error.
I thought it was some network issue in my machine, but running:
node -e "fetch('https://raw.githubusercontent.com/nuxt/starter/templates/templates/v3.json').then(r => r.json()).then(console.log)"
Seem to find this:
{
"name": "v3",
"defaultDir": "nuxt-app",
"url": "https://nuxt.com",
"tar": "https://codeload.github.com/nuxt/starter/tar.gz/refs/heads/v3"
}
When I run
nuxi init -t
it fails as follows.Looking at the template it indeed does not contain the file that fails to be found here.