-
-
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]: vite4 support - missing dependency upgrade #20190
Comments
Ah, yes I forgot we include that as a fallback. Until we can get a fix out, you can use overrides or resolutions in your package.json to force the correct version to be used, but we'll get this updated quickly, thanks. |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.5 containing PR #20199 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
The referenced PR only updated ESBuild. We're handling vite elsewhere. |
For a workaround add: // package.json
{
...
"overrides": {
"@vitejs/plugin-react": "^3.0.0"
}
} Works with UPDATE: with 7.0.0-beta.15 should not need that. After I updated my package.json to 7.0.0-beta.15, I still had the error, and override was fixing it. I had to remove pnpm-lock.yaml and node_modules and do |
@iva2k are you still having problems with the latest beta versions? It shouldn't require an override. |
@IanVS - it was not straightforward to sort it out. After I updated my package.json, I still had the error, and override was fixing it. |
Describe the bug
Vite 4 is out, and 7.0.0-beta2 supports it, but there seems to be a little dependency leftover:
In fact, vitejs/plugin-react should be updated to 3.0.0
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: