使用npm安裝插件時經(jīng)常遇到這種報錯:
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.
我的解決方式就是安裝它指明缺少的依賴: