问题:Cannot find module ‘webpack/bin/config-yargs’ 解决方法:将版本改成这样 "webpack": "^4.8.3", "webpack-cli": "3.3.0", "webpack-dev-server": "^3.1.4"