-
-
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
Storybook crashes when using Addon Knobs (evaluating this.props.channel.on) #1586
Comments
I am not sure why, but when I |
@DaniyarJakupov, I found the issue, I am working on pr to fix it. I should be able to fix it today. |
Same for me, but installing react-inspector has not fixed the issue. |
Just downgrade to "3.1.9" version. That should do the trick. At least it worked for me |
@DaniyarJakupov, @kwelch the pr is still not merged. So yes, for now switch to older version. I'll notify you when pr is merged. |
@aloifolia, hey, did you try adding decorator before stories? It looks like knobs are trying to emit events even though the decorator is not created yet. |
This is still an issue for me with version 3.2.13 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Version
App bootstrapped with create-react-native-app.
Reproduction
When I add withKnobs decorator to the story, storybook crashes with this error:
As soon as I remove
.addDecorator(withKnobs)
everything is working fineIndex.js
The text was updated successfully, but these errors were encountered: