Update to Tailwind CSS v4.1.9 currently tailwindcss": “^3.4.17”, this is causing this styling error, even on past deployments and the only fix i found was to update to CSS v4.1.9 heres a prompt to help fix this issue, it worked for me. ‘Make sure theres no Tailwind CSS version mismatch, if there isnt then we are going to update tailwind to v4.1.9, and make sure install tailwind v4 packages needed, and make sure if tailwind v4 needs to revamp any code to function do so move any postcss plugins to seperate tailwindcss/postcss files and create any required new css imports, make sure to add "@tailwindcss/postcss": "4.1.9" to devDependencies and remove autoprefixer (no longer needed in v4) if we have it and update "tailwindcss" to "4.1.9" (locked version to prevent future mismatches) and add any v4 css imports needed by using @import “tailwindcss”; into any global.css files.” Hope this helps!
1 Like