Empty storybook (*.stories.js ignored)
See original GitHub issueDescribe the bug
- Create own react boilerplate (without CRA etc.)
- Install @storybook/react and @storybook/cli
- Run npx -p @storybook/cli sb init
- Run yarn storybook
- Only mdx file in the list. Stories files was ignored.
To Reproduce Steps to reproduce the behavior:
- Clone https://github.com/sshmyg/storybook-test
yarn && yarn storybook
Expected behavior *.stories.js files in the list of the storybook
Screenshots
System:
Environment Info:
System:
OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
Binaries:
Node: 13.7.0 - ~/.nvm/versions/node/v13.7.0/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v13.7.0/bin/npm
Browsers:
Chrome: 85.0.4183.83
Firefox: 80.0.1
Safari: 13.1.2
npmPackages:
@storybook/addon-actions: ^6.0.21 => 6.0.21
@storybook/addon-essentials: ^6.0.21 => 6.0.21
@storybook/addon-links: ^6.0.21 => 6.0.21
@storybook/cli: 6.0.21 => 6.0.21
@storybook/react: ^6.0.21 => 6.0.21
Additional context Use storybook without CRA, or any others boilerplates.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to troubleshoot storybook not loading stories?
Resave save the story file. It makes the component reappear in side panel, and then you can see the errors ...
Read more >Configure Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Frequently Asked Questions - Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Args - Storybook - JS.ORG
Any other types will be ignored and removed from the URL, but you can still use them with the Controls addon and within...
Read more >ArgTypes - Storybook - JS.ORG
If you are using the Storybook docs addon (installed by default as part of essentials), then Storybook will infer a set of argTypes...
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 Free
Top 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
@shilman It’s because of
react-refresh/babel
. Without it works as expected.Is this issue still unresolved? Please check if there is any update.