Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

How to solve npx storybook init stops working

I created a empty folder and inside I started npx storybook@latest init. It asks me which framework I want, and I select React + Vite. But then it just stops working.

This is the output it shows me:

D:\Arbeitsbereich\Arbeit\Firma\Code\codexaLib>npx storybook@latest init
β•” πŸ”Ž Empty directory detected ══════════════════════════════════════════════════════════════════════╗
β•‘ β•‘
β•‘ Would you like to generate a new project from the following list? β•‘
β•‘ β•‘
β•‘ Note: β•‘
β•‘ Storybook supports many more frameworks and bundlers than listed below. If you don't see your β•‘
β•‘ preferred setup, you can still generate a project then rerun this command to add Storybook. β•‘
β•‘ β•‘
β•‘ Press ^C at any time to quit. β•‘
β•‘ β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
√ Choose a project template » React + Vite (TS)
Creating a new "React + Vite (TS)" project with npm...

But even after hours nothing else happens. If I cancel the process, there is only a folder node_modules, but it is empty. I also tried creating a Vite project first, but as soon as I try to add storybook again something similar happens and it stops doing anything.

I also made sure that no VPN is running. I did not check the firewall, butt since I created other projects in the past, I do not think that's the problem.

My Node version is v22.16.0 and npm version is 10.9.2.

Answer*

Draft saved
Draft discarded
Cancel

lang-js

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /