愤怒中的小草

博客园 首页 新随笔 联系 订阅 管理

1.得到原本的镜像地址

npm get registry 

> https://registry.npmjs.org/

设成淘宝的

npm config set registry http://registry.npm.taobao.org/

yarn config set registry http://registry.npm.taobao.org/

 

 

2.换成原来的

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

posted on 2019-05-08 15:19  愤怒中的小草  阅读(164)  评论(0编辑  收藏  举报