Skip to content
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

Button is not defined error while running the storybook #422

Closed
ashfaqrafi opened this issue Sep 4, 2016 · 3 comments
Closed

Button is not defined error while running the storybook #422

ashfaqrafi opened this issue Sep 4, 2016 · 3 comments

Comments

@ashfaqrafi
Copy link

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)"

@ashfaqrafi
Copy link
Author

Found the error: the Button tag which is used in the index.js file is given as "Button" but it will be "button" instead.

thani-sh pushed a commit to storybook-eol/getstorybook.io that referenced this issue Sep 4, 2016
Users get an error when following the slow-start guide
storybookjs/storybook#422
@thani-sh
Copy link
Contributor

thani-sh commented Sep 4, 2016

Hi @ashfaqrafi
Thanks for reporting the issue. I Just updated the docs site.

@thani-sh thani-sh closed this as completed Sep 4, 2016
@ashfaqrafi
Copy link
Author

thanks for the reply and doc update @mnmtanish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants