Skip to content

Unable to use Storybook with React 14 #2110

@m10l

Description

@m10l

I'm trying to use the latest release of Storybook with an existing React 14 app. The install and running the start script seems to go as planned, however the Storybook app doesn't start when I visit the URL.

Uncaught TypeError: Super expression must either be null or a function, not undefined
at _inherits (style.js:29)
at style.js:32
at Object.defineProperty.value (style.js:96)
at webpack_require (bootstrap 74fe420b966e93db53f1:678)
at fn (bootstrap 74fe420b966e93db53f1:88)
at Object.defineProperty.value (index.js:15)
at webpack_require (bootstrap 74fe420b966e93db53f1:678)
at fn (bootstrap 74fe420b966e93db53f1:88)
at Object.defineProperty.value (decorators.js:37)
at webpack_require (bootstrap 74fe420b966e93db53f1:678)

The error is thrown by the Radium package.

So, two questions:

  1. What's the earliest React version supported by React Storybook? 15?
  2. Is there anything I can do to work around this issue other than updating our project?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions