-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Description
Problem statement
Describe the bug
After installing Storybook v8 (and also tried v7) with React 19 in both a real project and a fresh test directory, the start-storybook
binary is missing from node_modules/.bin
. This makes it impossible to run Storybook via npm scripts or directly.
To Reproduce
- Create a new directory and initialize npm:
mkdir storybook-test cd storybook-test npm init -y
- Install React 19:
npm install react@19 react-dom@19
- Install Storybook v8 and main addons:
npm install --save-dev @storybook/react@8 @storybook/addon-essentials@8 @storybook/addon-links@8 @storybook/react-webpack5@8
- Check for the binary:
Result:
ls node_modules/.bin/start-storybook
No such file or directory
Expected behavior
The start-storybook
binary should be present in node_modules/.bin
after install, allowing npm run storybook
to work.
System
- OS: macOS (Apple Silicon)
- Node: [your node version, e.g. 20.x or 24.x]
- npm: [your npm version]
- React: 19.x
- Storybook: 8.x
Additional context
- Tried both inside and outside Python venv.
- Tried global install of @storybook/cli (binary still missing).
- Tried with npx (404 error for start-storybook).
- npm registry is set to https://registry.npmjs.org/
- No proxy or custom registry.
This blocks all Storybook usage with React 19 and v8+ in my environment.
dosubot