-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: TS2786 error when updating Storybook to v7.4.0. #24011
Comments
Hello, team. I think this kind of deps should be in peerDependencies. |
We also ran into this issue after upgrading to 7.4.0. Our project has |
Make sure you also add I think this is caused by I recommend to always use |
We've released v7.5.0-alpha.0 that might contain a fix for this (#24042). Could you try it out and tell us if it fixes the issue? If it does, we'll release it in a patch.
|
The alpha fixed the issue for me, looking forward to it being released in a 7.4 patch! |
Version 7.4.0 of storybook use a old @types/react@^16.14.34 In order to successfully execute `yarn install --frozen-lockfile` we need to upgrade it to 7.5.0-alpha that fix it. see storybookjs/storybook#24011 (comment)
Version 7.4.0 of storybook use a old @types/react@^16.14.34 In order to successfully execute `yarn install --frozen-lockfile` we need to upgrade it to 7.5.0-alpha that fix it. see storybookjs/storybook#24011 (comment)
Version 7.4.0 of storybook use a old @types/react@^16.14.34 In order to successfully execute `yarn install --frozen-lockfile` we need to upgrade it to 7.5.0-alpha that fix it. storybookjs/storybook#24011 (comment)
Version 7.4.0 of storybook use a old @types/react@^16.14.34 In order to successfully execute `yarn install --frozen-lockfile` we need to upgrade it to 7.5.0-alpha that fix it. storybookjs/storybook#24011 (comment)
Version 7.4.0 of storybook use a old @types/react@^16.14.34 In order to successfully execute `yarn install --frozen-lockfile` we need to upgrade it to 7.5.0-alpha that fix it. storybookjs/storybook#24011 (comment)
Describe the bug
Updating Storybook to v7.4.0 causes TS2786 error.
This is due to a type mismatch caused by multiple versions of @types/react being installed.
It should be possible to solve this problem by revert the following commit.
8ceec7d
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: