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

[Bug]: Storybook server needs an indexer for .stories.yml files #22896

Closed
cosmicdreams opened this issue Jun 2, 2023 · 3 comments · Fixed by #22906
Closed

[Bug]: Storybook server needs an indexer for .stories.yml files #22896

cosmicdreams opened this issue Jun 2, 2023 · 3 comments · Fixed by #22906
Assignees

Comments

@cosmicdreams
Copy link

Describe the bug

Storybook server recently added support for a json indexer. Storybook server 6.5 also supports a yaml indexer. I continue to need that Yaml indexer for my integration purposes. Storybook 7 doesn't have a yaml indexer yet.

To Reproduce

(on a reponsitory that has .stories.yml files available to be indexed)

yarn storybook 
WARN 🚨 Unable to index ./web/core/profiles/demo_umami/themes/umami/components/my-component/my-component.stories.yml:
WARN   Error: No matching story indexer found for /var/www/html/web/core/profiles/demo_umami/themes/umami/components/my-component/my-component.stories.yml

System

No response

Additional context

No response

@shilman
Copy link
Member

shilman commented Jun 4, 2023

Thanks for the heads up @cosmicdreams I'll try to fix it now

@shilman shilman self-assigned this Jun 4, 2023
@shilman
Copy link
Member

shilman commented Jun 4, 2023

Ermahgerd!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.1.0-alpha.27 containing PR #22906 that references this issue. Upgrade today to the @future NPM tag to try it out!

npx sb@next upgrade --tag future

@shilman
Copy link
Member

shilman commented Jun 8, 2023

Boo-yah!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.20 containing PR #22906 that references this issue. Upgrade today to the @latest NPM tag to try it out!

npx sb@latest upgrade

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

Successfully merging a pull request may close this issue.

2 participants