-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: @storybook/react-vite needs updated imports from react-docgen
- exports were renamed in December 2022
#22406
Comments
Same issue with one of my repos - 7.0.7 worked fine. After upgrading to 7.0.8, there is just a white screen instead of storybook. The following storybook packages are installed:
Removing |
react-docgen
- exports were renamed in December 2022
react-docgen
- exports were renamed in December 2022react-docgen
- exports were renamed in December 2022
Is this actually a bug? Storybook depends on an older version of There are now a couple PRs to update to the latest RC: #22324 #22432 We should unify these PRs. As far as I know this is a maintenance issue and would be released as part of 7.1. But if I'm missing something and it's a bug, I'm happy to try to get it in faster and patch it back to 7.0.x Thanks for any clarification you can provide! |
Did not intend to log as a bug - meant enhancement. Sorry about that. |
Describe the bug
The module
react-docgen@6.0.0-rc.8
renamed several exports several commits ago in December of 2022:reactjs/react-docgen@0c2891d
This means that these lines of code will not work with the release candidate:
https://github.com/storybookjs/storybook/blob/next/code/frameworks/react-vite/src/plugins/react-docgen.ts#L5-L7
I will submit a PR.
The text was updated successfully, but these errors were encountered: