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

[v6.0.0-beta.29] Glob not finding stories files #11194

Closed
aaronmcadam opened this issue Jun 16, 2020 · 1 comment
Closed

[v6.0.0-beta.29] Glob not finding stories files #11194

aaronmcadam opened this issue Jun 16, 2020 · 1 comment

Comments

@aaronmcadam
Copy link
Contributor

aaronmcadam commented Jun 16, 2020

Describe the bug

Same thing as #10772, which was apparently fixed in beta.18. I'm using beta.29. My stories load but I'm seeing the following warning:

$ start-storybook -p 9009 -s public
info @storybook/react v6.0.0-beta.29
info 
info => Loading static files from: /Users/tester/workspace/test/public .
info => Loading presets
info => Loading presets
info => Loading config/preview file in "./.storybook".
WARN We found no files matching any of the following globs:
WARN 
WARN ../src/**/*.stories.(ts|tsx|js|jsx|mdx)
WARN 
WARN Maybe your glob was invalid?
WARN see: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#correct-globs-in-mainjs

I believe I'm using a valid glob, is there a validator I can use to make sure?

Here's my main.js file:

module.exports = {
  stories: ['../src/**/*.stories.@(ts|tsx|js|jsx|mdx)'],
  ...
}
@aaronmcadam
Copy link
Contributor Author

My bad, VSCode hadn't saved the file properly, it was hanging on running some code actions.

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

No branches or pull requests

1 participant