- npm设置淘宝镜像
npm config set registry http://registry.npmmirror.com
- 查看镜像设置
npm config get registry
- 还原成npm镜像(发布npm包可能用得到)
npm config set registry https://registry.npmjs.org/
npm config set registry http://registry.npmmirror.com
npm config get registry
npm config set registry https://registry.npmjs.org/
本文标题:npm配置taobao镜像
本文链接:https://www.haomeiwen.com/subject/ppunhrtx.html
网友评论