请问老师,为什么这样呢,我该怎么做
PS C:\xampp\htdocs\test\lianxi\project> npm run build
> project@1.0.0 build C:\xampp\htdocs\test\lianxi\project
> webpack --config webpack.config.js
One CLI for webpack must be installed. These are recommended choices, delivered as separate packages:
- webpack-cli (https://github.com/webpack/webpack-cli)
The original webpack full-featured CLI.
- webpack-command (https://github.com/webpack-contrib/webpack-command)
A lightweight, opinionated webpack CLI.
We will use "npm" to install the CLI via "npm install -D".
Which one do you like to install (webpack-cli/webpack-command):
提示你没有安装webpack-cli,你可以尝试在命令行运行下代码:npm i webpack-cli
emmm,这种问题,多百度谷歌下就可以找到了