使用npm安装插件时经常遇到这种报错:
npm WARN less-loader@4.1.0 requires a peer of less@^2.3.1 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
我的解决方式就是安装它指明缺少的依赖: