时间: 2020-09-2|tag: 17次围观|0 条评论


NPM设置淘宝镜像

1.查询当前配置的镜像

npm get registry 

> https://registry.npmjs.org/

设置成淘宝镜像

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

 

2.换成原来的

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

 

Yarn 设置淘宝镜像

1.查询当前配置的镜像

yarn config get registry

> https://registry.yarnpkg.com

设置成淘宝镜像

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

 

近期刚上线一门基于微信小程序、公众号和小程序云开发的微信授权、分享和支付的专项课程,如果你对支付感兴趣可以考虑入手:

https://coding.imooc.com/class/343.html

React全家桶开发通用的后台管理系统:

https://coding.imooc.com/class/236.html

Vue2.0+Vue-Router+Vuex+Node+Mongo开发全栈商城课程

https://coding.imooc.com/class/113.html

慕课讲师:河畔一角

讲师地址:http://www.imooc.com/u/1343480

文章转载于:https://www.cnblogs.com/jacksoft/p/7826564.html

原著是一个有趣的人,若有侵权,请通知删除

本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自起风了,原文地址《NPM和Yarn添加淘宝镜像
   

还没有人抢沙发呢~