Error reason:
The version of the less-loader is too high. Uninstall and reinstall version 7.0
1. Install the less-loader command: npm install — save dev less loader less
Solution:
1. Uninstall command: npm uninstall — save less loader
2 The command to install version 7.0: npm install – D [email protected]
After executing the above command, continue to check the less-loader and less versions in the package.json file, the less-loader version has been reduced to 7.X. Just re-run the project without errors. If the version has not changed after installation, you need to manually change the less-loader and less versions in the package.json file to version 7.0
Read More:
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- 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 Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model
- VScode vue3 Project vetur Error [How to Solve]
- Vue scaffold creation project and run error [Solved]
- How to Solve Vue project Startup Error (Node Upgrade issue)
- [Solved] Vue Project Error: Arrow function should not return assignment
- [Solved] Vue Project startup error: no eslint configuration found
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- [Solved] Vue Project Error: “TypeError: Cannot read properties of undefined (reading ‘init‘)“
- [Solved] Vue Project Error: This relative module was not found
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- [Solved] Vue project configurate test environment and package error
- [Solved] Vue Project Startup Error: getaddrinfo ENOTFOUND xxx
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- [Solved] Vue project deploys nginx to refresh the interface 404 Error