-
Notifications
You must be signed in to change notification settings - Fork 4.5k
4.0.8 + Vite + Storybook = new crash #16785
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
Comments
Also getting this crash with Tailwind 4.0.8, Node 20.18.3, Storybook 8.5.6, and Vite 6.1.1
|
As a temporary workaround you could place an <!doctype html>
<html>
<head>
<title>Storybook iframe placeholder</title>
</head>
<body>
<!-- This will be replaced by Storybook -->
</body>
</html> |
Ah yep this sounds like #16780 might fix it. Let me get this one out in a release today if possible! |
Fix is out in the latest insider build if someone can confirm who happens to have a repro lying around. |
How can we get an "insider build"? Just install from main branch via npm? |
|
I had the same issue, after installing the latest insiders build it now works. Thanks @philipp-spiess! |
Awesome! We'll get this into a patch release pronto, going to close the issue then 👍 |
Tried the packages mentioned here but still broken. |
Unfortunately the latest release didn't fix it for us. This is the output we see:
This is our versions:
This is how
Let me know if you need a minimal reproducible repo or stackblitz repo. |
@deebov A reproduction would be great (feel free to open up a new issue with that), thank you! |
@philipp-spiess Thanks for the tip. I narrowed down the issue and created a new issue with reproducible repo. |
What version of Tailwind CSS are you using?
v4.0.8
What build tool (or framework if it abstracts the build tool) are you using?
Storybook v8.5.8
Vite v5.4.14
What version of Node.js are you using?
Node.js v23.8.0
What operating system are you using?
Ubuntu 24.04.1 LTS
Reproduction URL
Don't think you need one yet, can put one together if it's helpful.
Describe your issue
(This is not the same as #16751, which is about
package.json
CJS compatibility.)Just reporting a new crash when using the Vite plugin with Storybook:
I'm guessing #16780 may fix it.
LMK if you need help putting together an integration test fixture for Storybook Vite, I think it would be worthwhile.
The text was updated successfully, but these errors were encountered: