Skip to content

Button is not defined error while running the storybook #422

Closed

Description

I have gone through the article https://getstorybook.io/docs/basics/slow-start-guide and after doing all the necessary steps while I ran the npm run storybook command I encountered the error "Button is not defined
ReferenceError: Button is not defined
at eval (webpack:///:6:5)
at renderMain (webpack:////@kadira/storybook/dist/client/preview/render.js:85:31)
at renderPreview (webpack:///
/@kadira/storybook/dist/client/preview/render.js:101:10)
at Array.renderUI (webpack:////@kadira/storybook/dist/client/preview/index.js:89:26)
at Object.dispatch (webpack:///
/redux/lib/createStore.js:186:19)
at eval (webpack:////@kadira/storybook/dist/client/preview/index.js:68:16)
at eval (webpack:///
/@kadira/storybook-channel/dist/index.js:111:21)
at Array.forEach (native)
at Channel._handleEvent (webpack:////@kadira/storybook-channel/dist/index.js:110:19)
at PageBusTransport._handleEvent (webpack:///
/@kadira/storybook-channel-pagebus/dist/index.js:59:12)"

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions