You have installed webpack-cli and webpack-command together. To work with the "webpack" command you need only one CLI package, please remove one of them or use them directly via their binary.
全部移除之后, 我又重新执行了 npm install webpack --save
之后还是提示以上英文,咋回事呀? 我没有安装webpack-cli和webpack-command啊。
哪位老司机知道怎么解决吗?
使用webpack3不再出现上述问题了。