less-loader一直报错Module not found: Error: Can't resolve 'less-loader'

Posted 51net

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了less-loader一直报错Module not found: Error: Can't resolve 'less-loader'相关的知识,希望对你有一定的参考价值。

 

ERROR  Failed to compile with 2 errors                          15:32:41

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

 

解决办法:

npm install less less-loader

以上是关于less-loader一直报错Module not found: Error: Can't resolve 'less-loader'的主要内容,如果未能解决你的问题,请参考以下文章

解决Vue启动失败报错:Module not found: Error: Can‘t resolve ‘less-loader‘

Module not found: Error: Can‘t resolve ‘less-loader‘ in

Module not found: Error: Can‘t resolve ‘less-loader‘ in

Module not found: Error: Can‘t resolve ‘less-loader‘ in

Module not found: Error: Can‘t resolve ‘less-loader‘ in

初学Vue 遇到Module not found:Error:Can`t resolve 'less-loader' 问题