-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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/builder-webpack5 doesn't allow React 18 #17962
Comments
I just had the same issue. While installation didn't work with |
Same issue |
@DoneDeal0 My assumption is, that you are not using the latest prerelease version of storybook ( |
I had same issue with same version of storybook. |
Try upgrading to the latest prerelease:
|
Specifying a higher version worked for me:
|
This has been fixed in storybook 7.0 beta |
I can't install
@storybook/builder-webpack5
with npm because of a dependency error:It works with yarn install though.
Could you allow React 18?
EDIT: I see that react 18 is already allowed as a peer dependency in https://github.com/storybookjs/storybook/blob/next/lib/builder-webpack5/package.json . It's really weird.
The text was updated successfully, but these errors were encountered: