报错: Insufficient number of arguments or no entry found. Alternatively, run ‘webpack(-cli) --help‘ for usage info.
或者一直提示 webpack not installed
1. 打开cmd, wepack -v 查看一下安装的版本,如果是4以上,先卸载,然后重新安装4以下的版本
2 . 卸载:npm uninstall webpack -g
重新安装: npm install webpack@3.5.5 -g --unsafe-perm
3. 项目目录下安装对应版本的webpack:npm install --save-dev webpack@3.5.5
wepack报错- Insufficient number of arguments or no entry found.
原文:https://www.cnblogs.com/zhangy94/p/12331245.html