码迷,mamicode.com
首页 > 其他好文 > 详细

npm源设置

时间:2019-03-30 01:11:07      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:class   cnpm   tao   span   reg   registry   taobao   family   try   

淘宝npm镜像

npm install -g cnpm -registry=https://registry.npm.taobao.org

换回npm镜像

npm config set registry https://registry.npmjs.org

 

npm源设置

标签:class   cnpm   tao   span   reg   registry   taobao   family   try   

原文地址:https://www.cnblogs.com/ronle/p/10624881.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!