Please install 'webpack-cli' in addition to webpack itself to use the CLI 解决:解决方案在图中,已经提示如果是npm,则输入:npm install -D webpack-cli