For a Vue project downloaded from the Internet, when the terminal executes NPM run dev, an error is reported, as shown in the figure below:
As can be seen from the above error report, webpack cli needs to be installed
Terminal input: NPM install webpack cli
Then execute: NPM run dev OK! It’s ready to run!
Read More:
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- 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
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- Error: Cannot find Module ‘Webpack-cli ‘- Solution
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- [Solved] Error: Cannot find module ‘webpack/lib/RequestShortener’
- Error: Cannot find module ‘webpack/schemas/WebpackOptions.json’
- Error: cannot find module ‘webpack / lib / ruleset’_ solve
- Solution to prompt “cannot find module ‘eslint config defaults / configurations / eslint’” when submitting with Git
- Vue project startup error: cannot find module XXX
- Vue project error: uncaught typeerror: vuex__ WEBPACK_ IMPORTED_ MODULE_ 1__ . default.store is not a constructor
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- Error reported after moving or copying Vue items: cannot find module ‘xxx‘
- Vue3 uses webpack bundle analyzer to analyze package files
- Vue init webpack command error Vue cli / node_ modules/_ [email protected]@rimraf/rimraf.js :313