文章目录

  • 遇到问题
  • 解决方法
  • 参考

遇到问题

 ERROR  Failed to compile with 1 error                                                                                                                                             4:45:27 PMerror  in ./src/assets/tailwind.cssSyntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users

解决方法

$  npm uninstall autoprefixer postcss tailwindcss
$ vue add tailwind  - selecting minimal option

具体过程如下

azheng@lishizheng:/mnt/e/shizheng_coding/vue3_express/vue_express_tailwind_map_web/client$  npm uninstall autoprefixer postcss tailwindcssremoved 45 packages, and audited 1480 packages in 12s3 packages are looking for fundingrun `npm fund` for details72 vulnerabilities (61 moderate, 11 high)To address issues that do not require attention, run:npm audit fixTo address all issues (including breaking changes), run:npm audit fix --forceRun `npm audit` for details.
azheng@lishizheng:/mnt/e/shizheng_coding/vue3_express/vue_express_tailwind_map_web/client$ vue add tailwind  - selecting minimal optionWARN  There are uncommitted changes in the current repository, it's recommended to commit or stash them first.
? Still proceed? Yes												

Vue3中遇到问题:PostCSS plugin tailwindcss requires PostCSS 8 解决方案相关推荐

  1. Error: PostCSS plugin tailwindcss requires PostCSS 8

    解决方案 安装 先卸载 再安装 npm uninstall tailwindcss postcss autoprefixer npm install tailwindcss@npm:@tailwind ...

  2. vue Syntax Error Error PostCSS plugin postcss-pxtorem requires PostCSS 8

    vue Syntax Error: Error: PostCSS plugin postcss-pxtorem requires PostCSS 8. Migration guide for end- ...

  3. PostCSS plugin postcss-uniapp-plugin requires PostCSS 8

    最近刚遇到一个奇葩问题.项目开发开发好好的,突然运行就报错了. Syntax Error: Error: PostCSS plugin postcss-uniapp-plugin requires P ...

  4. Error: PostCSS plugin autoprefixer requires PostCSS 8. Update PostCSS or downgrade this plugin。

    Error: PostCSS plugin autoprefixer requires PostCSS 8. Update PostCSS or downgrade this plugin. 问题描述 ...

  5. Error: PostCSS plugin postcss-discard-comments requires PostCSS 8

    使用uni-app初始化项目,npm run build:mp-weixin时报错 解决:根据错误信息执行 npm install postcss@8.2.2 即可

  6. PostCSS a not plugin 打包is jenkins打包发布问题跟踪 Error: [object Object] is not a PostCSS plugin

    之前在develop平台上 一个前台项目全自动构建都正常,昨天构建失败了,报错信息如下: ERROR Failed to compile with 191 errors3:44:52 PMerror ...

  7. vue3 + vite + ts + setup , 第十二练 Vue3 css style 新特性,样式穿透,插槽选择器,全局选择器,在vue3中使用tailwindcss

    一.vue3.x 样式新特性 样式穿透  深度选择器 <style scoped> .a :deep(.b) {/* ... */ } </style> 插槽选择器 <s ...

  8. 在IAR 中出现the stack plug-in failed to set a breakpoint on main

    在IAR AVR中出现the stack plug-in failed to set a breakpoint on "main" Project->Options-> ...

  9. web前端培训分享:使用Dplayer实现Vue3中的视频及弹幕播放

    Dplayer是一款上手简单,功能强大的HTML5视频播放器,我们可以使用它,快速在普通HTML.Vue.React中实现视频播放的功能需求.Dplayer同时也提供了目前各大视频站都在使用的弹幕功能 ...

最新文章

  1. JAVA线程池(ThreadPoolExecutor)源码分析
  2. Lua 脚本获取 EVAL EVALSHA 命令的参数
  3. chisel快速入门(三)
  4. 基于深度学习的信息抽取技术
  5. 计算机网络(一)——一些概念
  6. 微课|中学生可以这样学Python(5.6.1节):列表推导式1
  7. php去除html标签 空白,php使用strip_tags()去除html标签仍有空白的解决方法
  8. Android底层到上层的开发流程
  9. Python内置函数(10)——float
  10. 鸟哥的linux私房菜学习笔记7
  11. win8/win10任务栏/语言栏跳动/闪烁
  12. Direct I/O in DOSBOX for COMM serial communications with QBasic, TBasic or Pbasic
  13. 2021大厂Java面试真题集锦,深度解析,值得收藏
  14. linux下代码写错了怎么更改_谢宝友:手把手教你给Linux内核发patch
  15. 【前端CSS】offsetLeft,Left,clientLeft的区别
  16. 一文通读SAP BRFPlus
  17. nginx配置和优化详解
  18. 华为RPA WeAutomate Studio使用心得
  19. 矩阵实验:图形图像处理
  20. WIFI模块透传基础试验-AP toSTR

热门文章

  1. CSS中position的几个属性值
  2. 06复杂查询(多数据库表)
  3. python123平台作业答案第十一周_第十一周作业
  4. 【Paper】2021_Observer-based distributed consensus for multi-agent systems with directed networks and
  5. u-boot分析之makefile分析(二)
  6. [python] import后的模块是否能del移除掉
  7. TCL with SNPS - get_object_namesizeof_collectionstring
  8. 北京、广东重名数量查询工具,给孩子起名重名查询
  9. Matlab篇(五)clc,close,close all,clear,clear all 的作用(转)
  10. Spring4+SpringMVC+MyBatis整合思路