webpack Error: Cannot find module 'less’
Follow the prompts, less
just add the missing module
npm i less -D
After all, it has been downloaded less-loader
but the reason for the error is the lack of less
module
Tips:
Sometimes we really have to look at ErrorMessage, which is very important
When we learn a programming language, most of us will watch the video to explain, and then type the code by ourselves
but? There is nothing wrong with synchronizing a code with the video!
The result is completely different! Because the Library we use is constantly updated!
So in the final analysis! Don't be afraid of something wrong! Just take a good look at ErrorMessage!
Come on, everybody! >.< !!