npm WARN [email protected] requires a peer of stylus@>=0.52.4 but none is installed. You must inst

问题:

npm WARN [email protected] requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.

 

解决办法:

1、在package.json文件中添加如下代码:

"stylus-loader": "^3.0.2",
"stylus": "0.52.4",

 

 执行npm install 命令即可

 

posted @ 2020-02-22 23:01  dekevin  阅读(1066)  评论(0)    收藏  举报