1、清除npm缓存
npm cache verify
2、设置镜像源(taobao)
npm config set registry https://registry.npmmirror.com
3、查看镜像源是否设置成功
npm config get registry
4、下载
npm install
1、清除npm缓存
npm cache verify
2、设置镜像源(taobao)
npm config set registry https://registry.npmmirror.com
3、查看镜像源是否设置成功
npm config get registry
4、下载
npm install
964
1524

被折叠的 条评论
为什么被折叠?