Failed to resolve loader: less-loader You may need to install it. Failed to resolve loader: less-loader

错误提示: 

解决办法:

       1、安装less-loader

npm install less less-loader --save-dev

  安装后运行又会出现另外一次错误,找不到“less”模块,如下图:

 

 2、只需安装less即可

npm install less --save-dev

 

 

推荐前端blog https://blog.csdn.net/qq_35366269/category_7911001.html?spm=1001.2101.3001.4235

posted @ 2020-12-11 14:44  小小强学习网  阅读(7588)  评论(0编辑  收藏  举报