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
[6.2.7] Cannot create a Story without a component set in export default #14575
Comments
@ThibaudAV is this required now? I think we are supporting the old format until 7.0? https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-angular-story-component |
normally not 🤔 yes that's what the code should do, I'll go look |
🤔 I just tested with 6.2.7. and the example code I have no error :sad: @kanidjar can you give a repo with the error reproduction? |
sure @ThibaudAV , you will get it by the end of the day |
@ThibaudAV : https://github.com/kanidjar/storybook You will find the example story in apps/extranet/src/app nx run extranet:storybook |
Perfect it reproduces well the problem Well it seems to be linked to It will be necessary to add this change earlier than expected @shilman I'll propose a PR |
Boo-yah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.3.0-alpha.7 containing PR #14586 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Hurrah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.2.9 containing PR #14586 that references this issue. Upgrade today to the
|
Describe the bug
An error is thrown when trying to display a story not having a component set in "export default".
To Reproduce
Expected behavior
The HTML element "button" should appear on the page without any error.
System
Workaround
Pass any component in "export default"
┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: