问题
webpack 报错 (Cannot find moudle ‘webpack-cli/bin/config-yargs’)
解决
webpack 和 webpack-dev-server 版本兼容
webpack 3.5.5 webpack-dev-server 2.7.1 能够用。
npm uninstall webpack -D
npm uninstall webpack-dev-server -D
而后执行
npm i webpack@3.5.5 -D
npm i webpack-dev-server@2.7.1 -D
webpack 报错 (Cannot find moudle ‘webpack-clibinconfig-yargs’).md)