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
Peer dependency issue on project using React < 18.2.0 #236
Comments
@pocka Yes I know and that's the problem. Looking at the code diff, the React dependency version doesn't seem to be needed and it breaks the addon on projects with older versions. |
I think you're right @lordfpx, I can't remember why I narrowed the React peer dependency from 16+17+18 to require 18.2. But looking at the block's usage of React I don't see why that would be necessary. Feel free to open a PR to widen the range again. |
Fixed in v8.0.1 (#237) |
Affected design types
Describe the bug
On a React project having for peer dependency React >=16.8.0 and Storybook 8.0.5, I've got the following error when running
npm i
:How to reproduce the bug?
npm i
Expected behaviour
All other Storybook addons are working fine except
addon-design
, the addon should work on every project.Environment
Affected versions
8.0.0
Storybook versions
8.0.5
The text was updated successfully, but these errors were encountered: