kadira-samples / react-storybook-demo

TodoMVC app with React Storybook
MIT License
214 stars 100 forks source link

Kadirahq/react-storybook - Unable to proceed after creating config.js file #4

Open jbenga opened 8 years ago

jbenga commented 8 years ago

At 'configurations' step, I created the config.js file as stated. However while I run “npm run storybook” it still says: => Create a storybook config file in ".storybook/config.js"; and I'm unable to see the React Storybook UI at http://localhost:9001/ as mentioned below..

"This will start your Storybook in http://localhost:9001. Open that URL in your browser. You will see the React Storybook UI:"

Please note: I created the config.js file inside 'storybook' folder inside @kadira folder under node_modules. Is this correct?

I'm using meteor@1.3 on Windows 10

martinerko commented 8 years ago

You should place your config file into .storybook folder which is situated in main repository folder

pbojinov commented 7 years ago

You should place your config file into .storybook folder which is situated in main repository folder

This should be referenced in the docs, to spare those like myself from digging around to find the config folder. 😄

findjonmos commented 6 years ago

Hi, Im getting the same issue but with Angular. Where should I be creating the .storybook directory?

Below is my directory structure

screen shot 2018-03-06 at 21 40 32
findjonmos commented 6 years ago

Ok, no worries. So .storybook in effect is the folder name, the dot before the folder name isn't doing any directory navigation on a mac it is part of the name of the folder. Once I added the dot it all started to work

Volzy commented 5 years ago

I had the same issue. Obviously looked past the . before storybook. You may have specified .storybook (dot storybook) in your config file, yet your storybook directory is only called storybook without the dot before.

This open issue should be closed.