Storybook: Alpha [info addon] Using withInfo in config.js causes stories not to load

Created on 16 Aug 2018  路  5Comments  路  Source: storybookjs/storybook

Bug or support request summary

Using the alpha and applying withInfo inside .storybook/config.js has no effect or breaks storybook.

Steps to reproduce

Inside .storybook/config:

addDecorator(
  withInfo({
    inline: true,
  })
)

configure(loadStories, module)

Results in no build errors, but:

cap

Without the addDecorator it loads fine and shows all stories.

Please specify which version of Storybook and optionally any affected addons that you're running

  • @storybook/react ^4.0.0-alpha.16
  • @storybook/addon-info ^4.0.0-alpha.16

End bug report support request - delete the rest below

info inactive

Most helpful comment

I'm having this same issue. Once I add addDecorator(withInfo); to the config file, none of my stories load. No errors or warnings, just no stories.

All 5 comments

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

I'm having this same issue. Once I add addDecorator(withInfo); to the config file, none of my stories load. No errors or warnings, just no stories.

Getting the same issue in 3.4.10

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

Was this page helpful?
0 / 5 - 0 ratings