sh: start-storybook: command not found
See original GitHub issuewhat’s wrong?
> redux-todomvc-example@0.0.0 storybook /Users/zhouming/Desktop/model/storybookmodel
> start-storybook -p 9001
sh: start-storybook: command not found
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "storybook"
npm ERR! node v6.2.2
npm ERR! nam v3.9.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! sys call spawn
npm ERR! redux-todomvc-example@0.0.0 storybook: `start-storybook -p 9001`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the redux-todomvc-example@0.0.0 storybook script 'start-storybook -p 9001'edux-todomvc-example@0.0.0 storybook /Users/zhouming/Desktop/model/storybookmodel
> start-storybook -p 9001
sh: start-storybook: command not found
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "storybook"
npm ERR! node v6.2.2
npm ERR! nam v3.9.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! sys call spawn
npm ERR! redux-todomvc-example@0.0.0 storybook: `start-storybook -p 9001`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the redux-todomvc-example@0.0.0 storybook script 'start-storybook -p 9001'
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:32 (10 by maintainers)
Top Results From Across the Web
Error running storybook - sh: 1: start-storybook: not found
This error is due to the node_modules folder. If you delete that folder and run npm install . it will work. Mostly due...
Read more >[SOLVED] sh: sb: command not found storybook React js/Next js
today in this video i'm going to show you how to fix this error occurred when to try to add storybook to your...
Read more >Install Storybook
Use the Storybook CLI to install it in a single command. ... storybook init is not made for empty projects ... A few...
Read more >sh: 1: start-storybook: not found-Reactjs - appsloveworld
[Solved]-Error running storybook - sh: 1: start-storybook: not found-Reactjs · score:0. Accepted answer · score:0. In my case restarting the system hasn't helped....
Read more >Unable to build storybook, "command not found" #14611
Describe the bug The yarn build-storybook command is not working in react ... yarn add @storybook/cli --dev yarn sb init "scripts": { "start":...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve solved it by myself, because I didn’t use: ‘npm install’
I did
rm -rf node_modules
and thennpm install
.