webpack执行报错 We will use "npm" to install the CLI via "npm install -D". Do you want to install 'we...

我有同样的问题。我通过安装旧版本的webpack解决了这个问题:

npm uninstall -g webpack
npm install -g webpack@3

你可能感兴趣的:(webpack执行报错 We will use "npm" to install the CLI via "npm install -D". Do you want to install 'we...)