Tailwind编译报错

Error: PostCSS plugin postcss-nested requires PostCSS 8.

[Error - 4:52:42 PM] Tailwind CSS: Cannot set property ‘parent’ of undefined TypeError: Cannot set property ‘parent’ of undefined

npm install tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9