-
Notifications
You must be signed in to change notification settings - Fork 109
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
Accessing non-existent addons channel #19
Comments
And |
Many of these issues can be fixed by looking at the dependencies - if they use CJS modules (require, module.exports etc) the "easy" fix is to switch to ESM modules (import/export). I don't use these addons myself. |
Speaking for us: we'll probably not go back to addons that don't or won't offer Probably a matter of the responsiveness of the original authors, and if they're open to PRs, how fast this can be fixed. |
I don't think this issue is a problem in another plugin. Getting the addon channel should work, I think, right? |
This seems to have been a problem from using the default export of |
Upon further investigation, I don't think it's entirely a problem with the default import. I've created a reproduction of the issue here: https://github.com/IanVS/storybook-vite-issue-19. It seems that |
Hi, I'm just switching over to vite, and trying out this builder, and while it seems to build correctly in the terminal, when storybook opens I see an error in the console, and the page does not finish loading:
I am using storybook-dark-mode, and listening to events from that addon using their instructions like: https://github.com/hipstersmoothie/storybook-dark-mode#events. This worked fine with the default storybook webpack builder.
Edit: when I remove that addon, I get a similar error from addon-a11y.
I am using storybook 6.3.0-beta.2
The text was updated successfully, but these errors were encountered: