大家好,又见面了,我是你们的朋友全栈君。
1.通过cnpm使用淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.将npm设置为淘宝镜像:
npm config set registry https://registry.npm.taobao.org
3. 查看cnpm镜像设置:
cnpm config get registry
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/127805.html原文链接:https://javaforall.cn