webpack 4.0 安装出现的小问题 (One CLI for webpack must be installed)
Posted 黑夜蓝天
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了webpack 4.0 安装出现的小问题 (One CLI for webpack must be installed)相关的知识,希望对你有一定的参考价值。
安装的webpack版本是4.11.0,运行命令npm start 提示:
One CLI for webpack must be installed. These are recommended choices, delivered as separate packages:
- webpack-cli (https://github.com/webpack/we...
The original webpack full-featured CLI. - webpack-command (https://github.com/webpack-co...
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 或者 webpack-command 即可
以上是关于webpack 4.0 安装出现的小问题 (One CLI for webpack must be installed)的主要内容,如果未能解决你的问题,请参考以下文章