Troubleshooting:
1. First, check if there is “less-loader”: “5.0.0” in package.json under the root directory . If not, please install it: npm install less-loader
.
2. If it is installed and the same problem continues to be reported, then execute the command at this time: npm install less -–save-dev
, and try to run again.
Read More:
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- [Solved] Vue package error: Syntax Error: Error: Cannot find module ‘mozjpeg’
- [Solved] Vue Install loader Error: Syntax Error: Error: Cannot find module ‘less‘
- [Solved] Syntax Error: Error: Cannot find module ‘@vue/babel-preset-app‘
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Syntax Error: Error: Cannot find module ‘cache-loader‘
- [webpack-cli] Error: Cannot find module ‘vue/compiler-sfc‘
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- Vue scaffold creation project and run error [Solved]
- Vue project change directory run error:Multiple assets emit different content to the same filename index.html
- [Solved] Vue Project Error: This relative module was not found
- Syntax Error: Error: Cannot find module ‘less‘ [How to Solve]
- error: Vue Project lang=“less“ Error [How to Solve]
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘
- [Solved] Vue Project Start Error: Support for the experimental syntax ‘jsx‘ isn‘t currently enabled
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] Module build failed: Error: Vue packages version mismatch