npm run dev 报错:Error: Cannot find module 'webpack-cli/bin/config-yargs'

Vue 启动时报错


//卸载版本

npm uninstall webpack -g

npm uninstall -g webpack-dev-server

//安装指定版本

npm install [email protected] --save-dev

npm install [email protected] --save-dev

你可能感兴趣的:(npm run dev 报错:Error: Cannot find module 'webpack-cli/bin/config-yargs')