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

Cannot read propert 'emit' of null #1

Closed
tomitrescak opened this issue Aug 12, 2016 · 2 comments
Closed

Cannot read propert 'emit' of null #1

tomitrescak opened this issue Aug 12, 2016 · 2 comments

Comments

@tomitrescak
Copy link

tomitrescak commented Aug 12, 2016

Hi, I have setup the project according to instructions, but am getting following error:

Cannot read property 'emit' of null
TypeError: Cannot read property 'emit' of null
    at specs (webpack:///~/storybook-addon-specifications/dist/preview.js:26:10)
    at eval (webpack:///imports/client/modules/notifications/components/stories/notification_stories.jsx:24:45)
    at renderMain (webpack:///~/@kadira/storybook/dist/client/preview/render.js:86:38)
    at renderPreview (webpack:///~/@kadira/storybook/dist/client/preview/render.js:101:10)
    at Array.renderUI (webpack:///~/@kadira/storybook/dist/client/preview/index.js:81:26)
    at Object.dispatch (webpack:///~/redux/lib/createStore.js:186:19)
    at PageBus.eval (webpack:///~/@kadira/storybook/dist/client/preview/page_bus.js:60:27)
    at PageBus.EventEmitter.emit (webpack:///~/events/events.js:81:17)
    at eval (webpack:///~/page-bus/index.js:21:44)

any idea? Thanks!

@tomitrescak
Copy link
Author

after i installed @kadira/storybook-addons all worked well.

@arunoda
Copy link

arunoda commented Aug 12, 2016

@tomitrescak Are you using NPM2 or NPM3?

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