problem with installing v3 #6775
boosting-my-adrenaline
started this conversation in
General
Replies: 1 comment 1 reply
-
Make sure you are on create-react-app v5, earlier versions use PostCSS 7 and Tailwind requires PostCSS 8 👍🏻 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using React and trying to update to v3 and always get:
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/react-scripts/node_modules/postcss-loader/src??postcss!./src/index.css)
Error: PostCSS plugin tailwindcss requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users
I had this issue on v2 as well. But there are only solutions for v2.
installing with:
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
Beta Was this translation helpful? Give feedback.
All reactions