2019-7-8 11:32:28 webpack 安装报错

原因有三种

1.版本没有更新:

npm install npm -g

2.没有清除缓存

npm cache clean --force

3.ip错误

将config文件夹里的index.js 里的 host改成自己的ip

4.如果以上都不行 那么删掉重装吧 XD

原文地址:https://www.cnblogs.com/ziyuan-shanliangdehaohaizi/p/11150153.html