卸载:npm uninstall webpack -g 重新安装:npm install webpack@3.7.1 -g 转载于:https://www.cnblogs.com/dslx/p/10841711.html