Question: syntax error: error: cannot find module ‘less’
Cause: the installed version of less loader does not match that of less
pay more attention to warnings during installation to avoid this problem.
there is a prompt during installation. You must install the corresponding less version for use with
Solution: install the corresponding version (pay more attention to warnings in the future)
Read More:
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- [Solved] Vue package error: Syntax Error: Error: Cannot find module ‘mozjpeg’
- [Solved] Syntax Error: Error: Cannot find module ‘@vue/babel-preset-app‘
- [Solved] Syntax Error: Error: Cannot find module ‘cache-loader‘
- [Solved] Vue Install loader Error: Syntax Error: Error: Cannot find module ‘less‘
- Error: Cannot find module ‘./application‘ [How to Solve]
- [webpack-cli] Error: Cannot find module ‘vue/compiler-sfc‘
- Node.js Error: Cannot find module express [How to Solve]
- Error Cannot find module ‘worker_threads‘ [How to Solve]
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- Node.js Error: Error: Cannot find module ‘express‘ [How to Solve]
- [Solved] Error: Cannot find module ‘vue-template-compiler/package.json‘ Require stack:
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘
- Can’t resolve ‘ansi-html-community’ & Cannot find module ‘is-docker (vuex-persistedstate Installed)
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- How to Solve Nodejs error: cannot find module ‘. /application’