webpack 打包报错:
One CLI for webpack must be installed. These are recommended choices, delivered as separate packages:
解决办法:
全局、局部安装个遍!具体什么原因还不清楚...
先全局安装webpack和webpack-cli
npm install webpack -g
npm install webpack-cli -g
再局部安装webpack和webpack-cli
npm install webpack --save-dev
npm install webpack-cli --save-dev