terminal - When i press enter after writing npm create vite@latest,it doesn't show any frameworks - Stack Overflow

It doesn't show any framework but shows three dots(...), when i press arrow keys it doesn't s

It doesn't show any framework but shows three dots(...), when i press arrow keys it doesn't show anything. Any idea how to fix this?
npm version 10.9.2 , node version v22.14.0 , operating system: Windows 11 Pro. I'm using my personal laptop, so there shouldn't be any corporate firewall restrictions.

npm create vite@latest

when I press enter after writing project name, it shows

 Select a framework:
 ...
 ...

before, it used to show

Select a framework:  
React   
Angular   
Vue.js

I was expecting to get a list of frameworks after writing npm create vite@latest. Then with the arrow keys i would select react

It doesn't show any framework but shows three dots(...), when i press arrow keys it doesn't show anything. Any idea how to fix this?
npm version 10.9.2 , node version v22.14.0 , operating system: Windows 11 Pro. I'm using my personal laptop, so there shouldn't be any corporate firewall restrictions.

npm create vite@latest

when I press enter after writing project name, it shows

 Select a framework:
 ...
 ...

before, it used to show

Select a framework:  
React   
Angular   
Vue.js

I was expecting to get a list of frameworks after writing npm create vite@latest. Then with the arrow keys i would select react

Share Improve this question asked Mar 23 at 18:22 Ikram WaniIkram Wani 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

When you run npm create vite@latest it shows

> npx
> create-vite

│
◆  Project name:
│  vite-project
└

and when you enter project name and hit enter you get to select the framework

> npx
> create-vite

│
◇  Project name:
│  vite-project
│
◆  Select a framework:
│  ● Vanilla
│  ○ Vue
│  ○ React
│  ○ Preact
│  ○ Lit
│  ○ Svelte
│  ○ Solid
│  ○ Qwik
│  ○ Angular
│  ○ Others
└

I am running verison v22.14.0

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744275450a4566307.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信