I was writing the latest project of vue3.0. Once I deleted the node_modules package and reinstalled it, the terminal appeared Error: PostCSS plugin autoprefixer requires PostCSS 8.
Solution: set autoprefixer to 9.0.0:
"autoprefixer": "9.0.0",
Read More:
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- [Solved] Vue installs postcss pxtorem Error: Syntax Error: Error: Loading PostCSS Plugin failed…
- [Solved] Failed to compile with 1 error. Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find modul
- [Solved] Vue Error: Module build failed: Error: No PostCSS Config found in
- [Solved] Syntax Error: Error: PostCSS received undefined instead of CSS string
- [Solved] Uniapp project use vant icon Error: (module build failed from./node_modules/postcss loader/SRC/index)
- Syntax Error: Error: PostCSS received undefined instead of CSS string
- Vue3 Error: [vue/no-multiple-template-root] The template root requires exactly one element
- [vue/no-multiple-template-root] The template root requires exactly one element.
- [Vue error] the solution to the template root requires exactly one element error reporting
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- [Solved] vueCli 4.x Upgrade to 5.x Error: Progress Plugin Invalid Options
- [Solved] vue run serve Error: ValidationError: Progress Plugin Invalid Options
- [Modified] svg loader Error: Plugin name should be specified
- [Solved] Error:Plugin/Preset files are not allowed to export objects, only functions
- Error: Duplicate plugin/preset detected [How to Solve]
- [Solved] arco design vite-plugin-style-import Load menu-item error: Internal server error…
- IDEA Project let Report Error [How to Solve]
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2