PostCSS Error in Fresh Tailwind CSS v4 + Vite + ShadCN Project #17112
Unanswered
tanay-nagde
asked this question in
Help
Replies: 3 comments
-
What version of tailwind are you using, what error message are you getting, and does it work if you use 4.0.11? Having some issues similar issues with nuxt. Currently I'm getting this error:
However earlier i was getting errors relating to postcss. |
Beta Was this translation helpful? Give feedback.
0 replies
-
my exact error message was
"tailwindcss": "^4.0.12", |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm also hitting this 😢 . Using a NextJS project Seems to specifically break on 4.0.14. 4.0.13 and below works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I set up a fresh project using Tailwind CSS v4 with Vite and ShadCN. Initially, I used @tailwindcss/vite as a Vite plugin instead of PostCSS. Everything worked fine yesterday, but now I’m getting a PostCSS error, despite not having a postcss.config.js file in my project.
Here’s what I have tried so far:
Key Questions:
Does ShadCN require a specific PostCSS setup?
Why is this issue occurring in a fresh Tailwind CSS v4 project?
How can I resolve this error?
Beta Was this translation helpful? Give feedback.
All reactions