WebPack 安装
2018-08-17 本文已影响125人
Marlon666
卸载后重新安装
1.删除全局webpack
$ npm uninstall -g webpack
2.删除本地webpack
$ npm un webpack
重新安装:
1.全局安装固定版本webpack:
$ npm install webpack@1.15.0 -g
2.局部安装固定版本webpack:
npm install webpack@1.15.0 --save-dev
3.查看 webpack -v
$ webpack -v