Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): Error: It looks like you're trying to use tailwindcss
directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install @tailwindcss/postcss
and update your PostCSS configuration.
#16828
-
Hello ! I try to upgrade from Tailwind Following the upgrade guide, I ran :
I don't have any
And then the entire
Do you have a solution to make it work ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Sorry, not sure to fully understand. Is there any solutions without ejecting or installing other dependency (as CRACO) ? |
Beta Was this translation helpful? Give feedback.
-
I'm also getting this same error and am losing my mind trying to fix this - as anyone a idea how to fix this?
|
Beta Was this translation helpful? Give feedback.
react-scripts
is causing the error by including the incorrecttailwindcss
PostCSS plugin in its pipeline. You could look at:tailwindcss
for@tailwindcss/postcss
in its Webpack configuration.tailwindcss
for@tailwindcss/postcss
in its Webpack configuration.