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
原文地址:https://www.cnblogs.com/zhangym118/p/10731408.html
时间: 2024-10-31 03:14:53