码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-02-23 00:00:40      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:one   end   mamicode   image   npm   json   问题   depend   require   

问题:

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 install 命令即可

 

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

标签:one   end   mamicode   image   npm   json   问题   depend   require   

原文地址:https://www.cnblogs.com/dekevin/p/12347857.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!