npm WARN stylus-loader@3.0.2 requires a peer of stylus@>=0.52.4 but none is installed. You must inst

阅读 12

2022-05-30

 

问题:

npm WARN stylus-loader@3.0.2 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 WARN stylus-loader@3.0.2 requires a peer of stylus@>=0.52.4 but none is installed. You must inst_json 

 

2、执行npm install 命令即可


精彩评论(0)

0 0 举报