首页 > 其他 > 详细

wepack报错- Insufficient number of arguments or no entry found.

时间:2020-02-19 15:15:57      阅读:680      评论:0      收藏:0      [点我收藏+]

报错: 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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!