-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
The symbol "prevRefreshReg" has already been declared #19365
Comments
Ok I figured out that this only happens after updating the react-vite package to alpha 35. It is working with this setup
and NOT working with this
|
Same here, I see a log output below:
UPDATE: @hummal If you are doing |
@ka2n thx for your input. It is true. Without plugin-react it is working. Also with alpha 38. Thank you for your good input! |
what exactly did you go with now? did you remove the |
As written in my answer above "without plugin-react it is working". Just the plugin removed |
Thank you for this, saved my life!!!! :D |
for people using plugin-react-swc for vite, pass plugins: [] to mergeConfig of viteConfig. The mdx file isn't working but all the other stories look fine. |
@antoniormrzz if I pass Failed to load url /virtual:/@storybook/builder-vite/vite-app.js (resolved id: /virtual:/@storybook/builder-vite/vite-app.js). Does the file exist? Any ideas? edit: was probably doing a bad override using |
Describe the bug
In the new 7.0 Alpha 35 it seems to break vite-plugin-react while launching storybook with
storybook dev
.Does not happen in Alpha 34.
System
The text was updated successfully, but these errors were encountered: