starter icon indicating copy to clipboard operation
starter copied to clipboard

Unable to create nuxt3

Open jsxiaosi opened this issue 2 years ago • 7 comments

when i run the command "npx nuxi init nuxt-app", I got this error: Nuxt CLI v3.0.0-rc.3

WARN could not fetch remote https://github.com/nuxt/starter WARN Make sure you have installed git correctly

#47 I looked up this record in the question and did the following operations according to the reply inside

npx nuxi@latest init nuxt-app

or

npm install -g nuxi

It seems that the problem cannot be solved, and the same error is reported

My node version is LST v16.15.1 My git version is 2.36.1

jsxiaosi avatar Jun 05 '22 07:06 jsxiaosi

me too image

GeekHowl avatar Jun 13 '22 08:06 GeekHowl

Just tried again and works for me.

Are you behind any proxy or VPN?

atinux avatar Jun 21 '22 13:06 atinux

try this:

npm install -g nuxi

then change file:

C:\Users\{username}\AppData\Roaming\npm\node_modules\nuxi\dist\chunks\init.mjs

change the proxy address at 9991 lines:

this.proxy = 'http://127.0.0.1:10800';

then use:

nuxi init your-app-name

Aruelius avatar Jun 23 '22 02:06 Aruelius

刚刚再次尝试并为我工作。

您是否支持任何代理或 VPN?

Yes, I support it, but he can work normally now

I have verified that it is the problem of proxy and VPN

The above problem occurs after I try to turn off the proxy and VPN

jsxiaosi avatar Jun 24 '22 15:06 jsxiaosi

I have the problem too. I'm not behind any proxy or VPN.

image

My node version is LST v16.15.1. My git version is 2.37.0.

And I try this: @Aruelius

try this:

npm install -g nuxi

then change file:

C:\Users\{username}\AppData\Roaming\npm\node_modules\nuxi\dist\chunks\init.mjs

change the proxy address at 9991 lines:

this.proxy = 'http://127.0.0.1:10800';

then use:

nuxi init your-app-name

But the problem happen again. Like this :

捕获2

The above problem occurs again and again. I try as I may search any way about the problem but can't resolve like this.

dawnlion0305 avatar Jun 29 '22 16:06 dawnlion0305

I have the problem too. I'm not behind any proxy or VPN.

image

My node version is LST v16.15.1. My git version is 2.37.0.

And I try this: @Aruelius

try this: npm install -g nuxi then change file: C:\Users\{username}\AppData\Roaming\npm\node_modules\nuxi\dist\chunks\init.mjs change the proxy address at 9991 lines: this.proxy = 'http://127.0.0.1:10800'; then use: nuxi init your-app-name

But the problem happen again. Like this :

捕获2

The above problem occurs again and again. I try as I may search any way about the problem but can't resolve like this.

You should open the proxy or VPN to create the project!

jsxiaosi avatar Jun 30 '22 12:06 jsxiaosi

Thanks! That's very useful! @SuperCuteXiaoSi

dawnlion0305 avatar Jun 30 '22 13:06 dawnlion0305