npmterminalvite

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


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


Solution

  • I had the exact same problem, and it was solved simply by increasing the terminal height.

    When there isn't enough vertical space, the list of frameworks gets truncated and replaced with ellipses ("...").

    If the terminal is initially tall enough, you'll be able to see some of the frameworks—even if you later reduce the height. But if it's too small from the start, you'll only see the ellipses.