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
Error TypeError: event is undefined
in manager.bundle.js after upgrade
#14910
Comments
I hope I'm not completely mistaken but from what I've seen while taking a look at this issue, it seems like telejson's This happens for the following messages:
And this may be why: shilman, if you see this, I plead not guilty Your Honor 😄 |
@Dschungelabenteuer Thanks so much for tracking this down! The only thing you're guilty of is being amazing!!! ❤️ |
@ndelangen @eirslett any idea what could be going on here? |
And let me know if I can help some way! |
We should update storybook to use the new version of telejson |
Shiver me timbers!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.3.0-alpha.34 containing PR #14983 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Can confirm, fixes the issue for us! Thanks a lot for the quick turnaround! |
Describe the bug
After updating the vite builder (https://github.com/eirslett/storybook-builder-vite) to
0.0.6
, and updating Storybook to6.3.0-alpha.25
, we are greeted by the following error in the browser console:This is the line that triggers the error, because
event
isundefined
:storybook/lib/channel-postmessage/src/index.ts
Line 176 in 643e7eb
And the
event
in question is:To Reproduce
Unfortunately this isn't really easy for me to extract from our use-case. If it turns out to be hard to reproduce, I'd try my hand on a smaller repro.
System
Additional context
Not entirely sure if this error originates in Storybook, the vite builder or the unique combination of both!
Let me know if I can help further!
The text was updated successfully, but these errors were encountered: