1- Open your package.json file
"devDependencies": {
"webpack": "^5.2.0",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0"
}
Webpack-cli: “^4.1.0”, which is version 4.*
2- Uninstall the current webpack-cli directive: NPM uninstall webpack-cli
3.* version directive: NPM install [email protected] -d
Just run NPM run dev!
Read More:
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Cannot find module ‘webpack cli / bin / config yargs‘
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- Error: solution to the problem of cannot find module ‘webpack / bin / config yargs’
- Webpack encountered a variety of problems to solve
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- Invalid host header error in Vue using peanut shell agent
- Error: Cannot find module’webpack/bin/config-yargs’ solution
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Vue3 uses webpack bundle analyzer to analyze package files
- ERROR in Entry module not found Error Can t resolve
- Module parse failed:Unexpectedtoken (1:0)You may need an appropriate loader to handle this file type
- NPM run build error solution
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Node configuration environment variable and global installation of webapck
- Error: can’t resolve ‘FS’ in (webpack 2 configures CSS loaders)
- Webpack 4 : ERROR in Entry module not found: Error: Can’t resolve ‘./src’
- extract-text-webpack-plugin" loader is used without the corresponding plugin Error (Fixed)
- ERROR in static/js/app.xxxxxxx.js from UglifyJs Unexpected token: operator (>)