The following problem occurs. It should be that some dependent packages are not downloaded successfully and need to be reinstalled
Solution:
1. Enter the folder directory of the project and delete the node_ Modules file and package-lock.json file. Note that it is not package.json (if it cannot be deleted, check whether the project is open and try again after closing)
2. Enter NPM install installation dependency
3. Start the project and it can be started normally.
Read More:
- [Solved] Vue Install loader Error: Syntax Error: Error: Cannot find module ‘less‘
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- vue-cli: Syntax Error: Thread Loader [How to Solve]
- [Solved] Vue package error: Syntax Error: Error: Cannot find module ‘mozjpeg’
- Syntax Error: Error: Cannot find module ‘less‘ [How to Solve]
- [Solved] Syntax Error: Error: Cannot find module ‘@vue/babel-preset-app‘
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- Error: Cannot find module ‘./application‘ [How to Solve]
- [Solved] Vue calls style loader error: Module build failed: CssSyntaxError
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] Uniapp project use vant icon Error: (module build failed from./node_modules/postcss loader/SRC/index)
- How to Solve Nodejs error: cannot find module ‘. /application’
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘
- Error Cannot find module ‘worker_threads‘ [How to Solve]
- Node.js Error: Cannot find module express [How to Solve]