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

Return to Question

Post Timeline

Add missing 'storybook' tag as it's the major question
Link
deleted 4 characters in body; edited title
Source Link
jonrsharpe
  • 123.4k
  • 31
  • 278
  • 489

how 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 + viteReact + Vite. But then it just stops working.

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

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

My nodeNode version is v22.16.0v22.16.0 and npm version is 10.9.210.9.2.

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.

But even after hours nothing else happens. If I cancel the process, there is only a folder node_module, 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 thats the problem.

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

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.

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.

Source Link
Tobias
  • 381
  • 2
  • 13

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_module, 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 thats the problem.

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

lang-js

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