其他分享
首页 > 其他分享> > 装包报错:peerDependencies WARNING postcss-load-config@^3.0.0 requires a peer of postcss@>=8.0.9 but n

装包报错:peerDependencies WARNING postcss-load-config@^3.0.0 requires a peer of postcss@>=8.0.9 but n

作者:互联网

1 背景

  1.1 装包

2 问题

  2.1 装包报错 peerDependencies WARNING postcss-load-config@^3.0.0 requires a peer of postcss@>=8.0.9 but none was installed

3 原因

  3.1 必须要先装postcss

4 解决办法

  4.1 安装postcss

cnpm install postcss -g

  4.2 再装自己的包,即可

cnpm install xxxxxxxxxx -g

标签:load,装包,installed,报错,3.0,postcss
来源: https://www.cnblogs.com/xihailong/p/16243163.html