Answers for "ERROR Failed to compile with 1 error 11:49:46 PM error in ./src/index.css Syntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8."

3

error: postcss plugin tailwindcss requires postcss 8.

yarn remove tailwindcss postcss autoprefixer
yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

# For zsh:
yarn add "tailwindcss@npm:@tailwindcss/postcss7-compat" "@tailwindcss/postcss7-compat" "postcss@^7 autoprefixer@^9"
Posted by: Guest on December-28-2020

Code answers related to "ERROR Failed to compile with 1 error 11:49:46 PM error in ./src/index.css Syntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8."

Browse Popular Code Answers by Language