为了账号安全,请及时绑定邮箱和手机立即绑定

build运行失败

请问老师,为什么这样呢,我该怎么做

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):


正在回答

1 回答

提示你没有安装webpack-cli,你可以尝试在命令行运行下代码:npm i webpack-cli

emmm,这种问题,多百度谷歌下就可以找到了

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Vue+Webpack打造todo应用
  • 参与学习       84606    人
  • 解答问题       787    个

用前端最热门框架Vue+最火打包工具Webpack打造todo应用

进入课程

build运行失败

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信