Error reason
Solution:
npm i less- loader@6
Run NPM run serve again
Perfect solution~
Read More:
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- [Solved] Syntax Error: Error: Cannot find module ‘cache-loader‘
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- [Solved] Vue package error: Syntax Error: Error: Cannot find module ‘mozjpeg’
- vue-cli: Syntax Error: Thread Loader [How to Solve]
- [webpack-cli] Error: Cannot find module ‘vue/compiler-sfc‘
- [Solved] Vue calls style loader error: Module build failed: CssSyntaxError
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- [Solved] Syntax Error: Error: Cannot find module ‘@vue/babel-preset-app‘
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- Vue installs sass loader directly, and node sass reports an error
- Syntax Error: Error: Cannot find module ‘less‘ [How to Solve]
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Vue Error: Syntax Error: TypeError: Cannot set properties of undefined (setting ‘XXX’)
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘