npm的镜像替换成淘宝
生活随笔
收集整理的這篇文章主要介紹了
npm的镜像替换成淘宝
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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/
轉載于:https://www.cnblogs.com/sidesky/p/10891004.html
總結
以上是生活随笔為你收集整理的npm的镜像替换成淘宝的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: cmake 2.8.12在redhat
- 下一篇: 第十届山东省ACM省赛题解