Tailwind v4: 'tailwindcss directly as a PostCSS plugin' error, fixed
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.
Your Tailwind v4 upgrade throws 'trying to use tailwindcss directly as a PostCSS plugin'? Here's every cause, the sneaky CI-only variant, and the real fix.
Your Tailwind v4 build dies with 'It looks like you're trying to use tailwindcss directly as a PostCSS plugin': here's every real cause and the actual fix.
`params` is a Promise and must be unwrapped with await or React.use() before accessing its properties — the exact fix for Next.js 15 and 16 App Router.
Next.js turned params and searchParams into Promises. Here's the exact warning text, why v16 makes it crash instead of warn, and how to fix it for good.
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.