Skip to content

addon-docs Error: Cannot read property 'content' of undefined #7577

@Brave-Turtle

Description

@Brave-Turtle

Hello everyone. I'm using the newest storybook/react with addon-docs, both version 5.2.0-beta.10. Right now I have a problem running the example from the official Storybook Docs: Technical Preview google docs. When I click Docs panel I get an error Cannot read property 'content' of undefined

Bug

image

Steps to reproduce

Configure the new Storybook beta with Docs addon and TypeScript. Run Storybook and click Docs panel.

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

  • @storybook/react 5.2.0-beta.10
  • @storybook/addon-docs 5.2.0-beta.10

Screenshots / Screencast / Code Snippets (Optional)

Storybook config.js
image

Storybook presets.js
image

Story
image

Example Component is a simple div with Hello text in it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions