当前安装webpack、webpack-cli时会报错,wepback-cli版本不兼容,将webpack-cli版本改为3.3.12就可以了

yarn remove webpack-cli
yarn add webpack-cli@3.3.12

  

相关文章: