create-nuxt-app
create-nuxt-app copied to clipboard
Cannot finish setup using [email protected]
Environment
- Operating System:
Darwin
- Node Version:
v17.9.0
- Nuxt Version:
3.0.0-rc.11-27722095.1ebdef7
- Nitro Version:
0.5.4-27719614.c3af02d
- Package Manager:
[email protected]
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
npx [email protected] nuxt-app
that's all, can't get past this step. I gave up trying using nuxi because that's also not working https://github.com/nuxt/nuxt.js/issues/14928
Describe the bug
Unable to finish initial installation using create-nuxt-app. After being unable to initaliza an app using nuxi I tried using create-nuxt-app but that is also not working. On a separate issue: https://github.com/nuxt/nuxt.js/issues/14928 I also cannot finish setting up an app.
Additional context
Just need to be able to get past initial set up. Nothing seems to work.
Logs
create-nuxt-app v3.6.0
✨ Generating Nuxt.js project in nuxt-app
? Project name: nuxt-app
? Programming language: JavaScript
? Package manager: Npm
? UI framework: None
? Nuxt.js modules: (Press <space> to select, <a> to toggle all, <i> to invert se
lection)
? Linting tools: ESLint, Prettier
? Testing framework: Jest
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: (Press <space> to select, <a> to toggle all, <i> to invert
selection)
? Continuous integration: None
? Version control system: Git
Trace: ReferenceError: ejs:1
>> 1| <%_ if (isWindows === true) { _%>
2| command_exists () {
3| command -v "$1" >/dev/null 2>&1
4| }
isWindows is not defined
at eval (eval at compile (/Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/ejs/lib/ejs.js:652:12), <anonymous>:10:8)
at Object.anonymous [as fn] (/Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/ejs/lib/ejs.js:682:17)
at Transformer.render (/Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/jstransformer/index.js:289:25)
at /Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/sao/lib/runActions.js:69:27
at Array.forEach (<anonymous>)
at /Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/sao/lib/runActions.js:61:20
at /Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/majo/dist/majo.cjs.js:58:49 {
path: ''
}
at /Users/marco/.npm/_npx/711906bd95ed3b8c/node_modules/create-nuxt-app/lib/cli.js:51:17
Hi @marcodarko. I've moved issue to the create-nuxt-app
repository. it is i guess because of an older dependency to stdenv
. BTW you should use npx nuxi init
to create a Nuxt 3 app.
@pi0 thank you for doing that, i appreciate it. I have tried that but as I mentioned in the issue that's also sadly not working, I have a separate issue using nuxi.
Do you mind to point to the issue you have with nuxi init
? Would be glad to help investigate and fix :)