question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sh: start-storybook: command not found

See original GitHub issue

what’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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:32 (10 by maintainers)

github_iconTop GitHub Comments

89reactions
KornbergFresnelcommented, Jul 14, 2016

I’ve solved it by myself, because I didn’t use: ‘npm install’

54reactions
bompi88commented, Jun 11, 2017

I did rm -rf node_modules and then npm install.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found