TypeError: Invalid PostCSS Plugin found at: plugins[1]
Problem
Describe the problem: I am following this Upgrade guide. After running `npm install tailwindcss@latest postcss@latest autoprefixer@latest`, I start getting this error when running `npm run serve`: `TypeError: Invalid PostCSS Plugin found at: plugins[1]` I am using: + postcss@8.1.7 + autoprefixer@10.0.2 + tailwindcss@2.0.1 Link to a minimal reproduction: Not sure how to reproduce this on other machines. I am on Windows 10, node v14.15.1.
Error Output
error when running `npm run serve`:
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: TypeError: Invalid PostCSS Plugin found at: plugins[1]
@michalhudecek try with: `npm uninstall tailwindcss postcss autoprefixer` `npm install tailwindcss@compat postcss@^7 autoprefixer@^9`
Trust Score
6 verifications
- 1
@michalhudecek try with:
`npm uninstall tailwindcss postcss autoprefixer` `npm install tailwindcss@compat postcss@^7 autoprefixer@^9`
Validation
Resolved in tailwindlabs/tailwindcss GitHub issue #2795. Community reactions: 18 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep