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

Cannot finish setup using create-nuxt-app@3.6.0 #977

Open
marcodarko opened this issue Sep 16, 2022 · 3 comments
Open

Cannot finish setup using create-nuxt-app@3.6.0 #977

marcodarko opened this issue Sep 16, 2022 · 3 comments

Comments

@marcodarko
Copy link

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: yarn@1.22.10
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

npx create-nuxt-app@3.6.0 nuxt-app

that's all, can't get past this step. I gave up trying using nuxi because that's also not working nuxt/nuxt#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: nuxt/nuxt#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
@pi0 pi0 transferred this issue from nuxt/framework Sep 16, 2022
@pi0
Copy link
Member

pi0 commented Sep 16, 2022

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.

@marcodarko
Copy link
Author

@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.

@pi0
Copy link
Member

pi0 commented Sep 16, 2022

Do you mind to point to the issue you have with nuxi init? Would be glad to help investigate and fix :)

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

2 participants