-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
'emit' of null Error with every Addon I try #1579
Comments
Try this new syntax:
|
Thanks for the reply. Regrettably I still get an "Cannot read property 'emit' of null" error. |
got the same error with addon-actions |
Does any of you have a codebase with this problem I can take a look at? |
OK, so with a fresh project install, I see where it breaks down. Perhaps a dumb, non-Storybook environment issue on my end that I'm too dumb to understand? Step 4 below is where it goes wrong for me:
...I get a warning that...
... and then when I |
I am not sure why, but when I |
I'm struggling through this as part of the upgrade to v3.2 (things were working fine before that). Getting this "emit" error among others that seem related, when trying to re-introduce the Knobs addon. All seem to stem from the a null channel With:
The addon is registered and imported, and I'm using the established syntax of I'm getting:
Have trashed my |
@dfagan2 do you have a public repo I could look at? |
Unfortunately no, the client I'm working for has put me up in a private repo. Is there additional context or snippets I can provide? |
@dfagan2 do you have any yarn/npm lockfiles around? if so, try nuking those too. |
Aha! that was it, had a lingering Thanks for the tip! |
Every addon I try I get errors, usually:
Cannot read property 'emit' of null
Could very well be that I'm missing something simple? Thanks!
Packages:
Storybook Addon Config:
Test Storybook index.js:
Full Error:
The text was updated successfully, but these errors were encountered: