Describe the bug
I'm trying to create a new project with storybook and npm create storybook@latest fails immediately with:
npm create storybook@latest
> npx
> "create-storybook"
┌ Initializing Storybook
│
● Package manager: npm
│
● Adding Storybook version 10.4.2 to your project
│
■ Unable to initialize Storybook in this directory.
│ Storybook couldn't detect a supported framework or configuration for your
│ project. Make sure you're inside a framework project (e.g., React, Vue, Svelte,
│ Angular, Next.js) and that its dependencies are installed.
│ Tips:
│ - Run init in an empty directory or create a new framework app first.
│ - If this directory contains unrelated files, try a new directory for Storybook.
│
■ Storybook encountered an error during initialization
│
│ Debug logs are written to:
│ no/debug-storybook.log
│
└ Storybook exited with an error
npm error code 1
npm error path no
npm error command failed
npm error command sh -c "create-storybook"
npm error A complete log of this run can be found in: no/2026-06-03T11_49_56_204Z-debug-0.log
This project doesn't have a framework currently. It's new. I don't know, yet, if I even will use a framework never mind which. I might produce plain HTML without a framework. The storybook error looks like ... not using a framework isn't an option?
Reproduction link
https://no
Reproduction steps
-
Create an empty project
mkdir test
cd test
echo '{}' > package.json
-
Run npm create storybook@latest
System
Additional context
No response
Describe the bug
I'm trying to create a new project with storybook and
npm create storybook@latestfails immediately with:This project doesn't have a framework currently. It's new. I don't know, yet, if I even will use a framework never mind which. I might produce plain HTML without a framework. The storybook error looks like ... not using a framework isn't an option?
Reproduction link
https://no
Reproduction steps
Create an empty project
Run
npm create storybook@latestSystem
Additional context
No response