Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook Does Not Work Out of the Box #87

Closed
gecugamo opened this issue Mar 6, 2023 · 0 comments · Fixed by #104
Closed

Storybook Does Not Work Out of the Box #87

gecugamo opened this issue Mar 6, 2023 · 0 comments · Fixed by #104

Comments

@gecugamo
Copy link

gecugamo commented Mar 6, 2023

After initializing a new component with the following options:

  • Scaffold a new project
  • Web Component
  • Linting (eslint & prettier)
  • Testing (web-test-runner)
  • Demoing (storybook)
  • Typescript
  • npm

and running npm run storybook, storybook opens, but shows an error saying:

Couldn't find any stories in your Storybook.

- Please check your stories field of your main.js config.
- Also check the browser console and terminal for error messages.

It's unclear to me what is causing the error, as the glob in .storybook/main.js appears to be correct, and the <component-name>.stories.js files are built in dist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant