Cannot find module ‘webpack-cli/bin/config-yargs’ :
Webpack is not compatible with the webpack-dev-server version:
Under this vue project, type :
npm uninstall webpack -g
npm uninstall -g webpack-dev-server
Uninstall and reinstall:
npm install [email protected] --save-dev
npm install [email protected] --save-dev
Restart the project, success!
Read More:
- Cannot find module ‘webpack cli / bin / config yargs‘
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Error: solution to the problem of cannot find module ‘webpack / bin / config yargs’
- Error: Cannot find module’webpack/bin/config-yargs’ solution
- VUE Error: Cannot find module ‘webpack/bin/config-yargs’
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- Solution to Vue cli · failed to download repo vuejs templates/webpack: connect etimeout followed by an IP digital error message
- [Solved] Error: Cannot find module ‘webpack/lib/RequestShortener’
- Vue init webpack command error Vue cli / node_ modules/_ [email protected]@rimraf/rimraf.js :313
- Error: Cannot find module ‘webpack/schemas/WebpackOptions.json’
- Error: Cannot find Module ‘Webpack-cli ‘- Solution
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Vue project startup error: cannot find module XXX
- Webpack Upgrade Error: webpack.NamedModulesPlugin is not a constructor
- Error: cannot find module ‘webpack / lib / ruleset’_ solve
- Gulp Error: Cannot find module ‘jshint/src/cli’;
- Vue3 uses webpack bundle analyzer to analyze package files