post the error message directly
ERROR in ./app/index.less (./node_modules/_css-loader@0.23.1@css-loader!./node_modules/_less-loader@2.2.3@less-loader!./app/index.less)
Module build failed: TypeError: Cannot read property "lessLoader" of undefined
at Object.module.exports (E:\\web\Project\Study\react-music\node_modules\_less-loader@2.2.3@less-loader\index.js:50:18)
@ ./app/index.less 4:14-150
@ ./app/index.js
judging from the error message.. It is reported directly from less-loader that there is no situation that it is not installed.
less-loader can run, and there is no case that less is not installed.
I have tried that css can be parsed, and it is not a problem with style-loader, and css-loader.
it doesn"t make sense to read whether the column seen by reademe is written in webpack2 or 1.
is attached. I have to write it. At least I look right at first glance. Solve?
{
test: /\.less/,
use: [
{ loader: "style-loader" },
{ loader: "css-loader" },
{ loader: "less-loader" }
]
}