-
|
What version of Tailwind CSS are you using? v4.0.0 What build tool (or framework if it abstracts the build tool) are you using? Vite 7.3.0 What version of Node.js are you using? Node.js 25.2.1, using Bun 1.3.5 (baseline version) for the whole proyect What browser are you using? Firefox 146.0.1 What operating system are you using? Arch Linux x86_64 Reproduction URL https://github.com/Kat404/CSS-Aprendizaje Describe your issue Hello! I'm trying to test Tailwind CSS v4 (alpha/beta) using Bun and Vite on a machine with an older CPU (Intel Celeron J4115, Gemini Lake). The dev server starts correctly, but I get a huge ERROR screen.
Also, immediately after loading, terminal is flooded with errors from the @tailwindcss/vite plugin.
Reproduction Steps:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
DiagnosisYou seem to have mixmatched Tailwind package versions. This is because earlier versions of Tailwind v4 weren't strict enough with their dependency versioning: Notice how your explicitly-installed packages are FixWe can explicitly update the packages to ensure everything is using the same version: The error should now be gone. |
Beta Was this translation helpful? Give feedback.
-
|
Firstly, thank you so much, you're awesome dude :D bun add v1.3.5 (1e86cebd)
installed tailwindcss@4.1.18
installed @tailwindcss/vite@4.1.18
installed vite@7.3.0 with binaries:
- vite
34 packages installed [3.87s]So, without |
Beta Was this translation helpful? Give feedback.


Diagnosis
You seem to have mixmatched Tailwind package versions. This is because earlier versions of Tailwind v4 weren't strict enough with their dependency versioning: