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

npx nuxi init nuxt3-app err #12741

Closed
chaotianque opened this issue Nov 12, 2021 · 14 comments
Closed

npx nuxi init nuxt3-app err #12741

chaotianque opened this issue Nov 12, 2021 · 14 comments

Comments

@chaotianque
Copy link

Environment

npx: installed 2 in 4.094s
Nuxt CLI v3.0.0-27277498.850ef69 15:48:15
RootDir: D:\work\projects\WebstormProjects\vue3 15:48:15
Nuxt project info: 15:48:15


  • Operating System: Windows_NT
  • Node Version: v14.17.3
  • Nuxt Version: 0.0.0
  • Package Manager: unknown
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

👉 Report an issue: https://github.com/nuxt/nuxt.js/issues/new 15:48:15

👉 Suggest an improvement: https://github.com/nuxt/nuxt.js/discussions/new

👉 Read documentation: https://nuxtjs.org

Describe the bug

npx: installed 2 in 3.069s
Nuxt CLI v3.0.0-27277498.850ef69 15:40:15

WARN could not fetch remote https://github.com/nuxt/starter 15:40:37

WARN Make sure you have installed git correctly

Reproduction

npx: installed 2 in 3.069s
Nuxt CLI v3.0.0-27277498.850ef69 15:40:15

WARN could not fetch remote https://github.com/nuxt/starter 15:40:37

WARN Make sure you have installed git correctly

Additional context

No response

Logs

No response

@J-Kern
Copy link

J-Kern commented Nov 12, 2021

@chaotianque "WARN Make sure you have installed git correctly" indicates that you may not have git setup correctly, it may not be available in your path.

Can you please post the output of running the command: git --version?

If you see output like:

'git' is not recognized as an internal or external command,
operable program or batch file. 

then this is not a nuxt bug, but a problem with your git installation.

Please refer to this Git Install Guide - Github.

@chaotianque
Copy link
Author

image

@J-Kern
Copy link

J-Kern commented Nov 13, 2021

Please make sure you have an active internet connection whilst creating the nuxt app.
The error may be caused by a git pull timeout.

@0xbul1
Copy link

0xbul1 commented Nov 15, 2021

same error with me,
maybe its caused by vpn software.

  1. keep vpn software global connect('直连').
  2. make sure you can get github content in this status.

I solved this by these steps.

@bosswhale
Copy link

Same issue for me:
image

@quartzar
Copy link

quartzar commented May 25, 2022

Same issue for me also:
image

@danielroe
Copy link
Member

@quartzar content-v2 is not a valid template. Instead, try npx nuxi init content-app -t content.

@quartzar
Copy link

@danielroe on the official Nuxt Content get-started page, that is the command it gives. I want to use content-v2 as I am just starting and don't want to later have to manually rewrite my project for version 2.

@manniL
Copy link
Member

manniL commented May 25, 2022

@quartzar npx nuxi init content-app -t content will create a project with Nuxt3 (latest RC) and Nuxt Content v2 ☺️

@quartzar
Copy link

@manniL this worked, thank you very much. Is there a way to create a Nuxt3 project w/ Nuxt Content v2 with all of the create-nuxt-app configuration options?

@zkjDream
Copy link

Same issue for me:
image

@zkjDream
Copy link

npx nuxi init content-app -t content
I tried but it didn't work

@zkjDream
Copy link

After many attempts, he finally succeeded in creating

@m-sam-mohamadi
Copy link

After many attempts, he finally succeeded in creating

how?

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants