Cannot find module 'webpack/bin/config-optimist'
在项目里面运行npm i webpack-dev-server
Cannot find module 'webpack/bin/config-yargs'
在项目里面运行npm i webpack
Cannot read property 'thisCompilation' of undefined
先卸载执行 npm uninstall --save-dev extract-text-webpack-plugin
再安装 npm install --save-dev extract-text-webpack-plugin