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