One CLI for webpack must be installed. These are recommended choices, delivered as separate p
ackages:
- webpack-cli (https://github.com/webpack/webpack-cli)
The original webpack full-featured CLI.
We will use "npm" to install the CLI via "npm install -D".
Do you want to install 'webpack-cli' (yes/no):
那怎么解决呀? 使用webpack-cli,还是更改到webpack3?怎么更改?
webpack4 需要安装webpack-cli ,他的课程是webpack3
npm webpack -v看一下你的版本号