修改npm镜像

1.设成淘宝的

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 @ 2020-07-21 21:18  沐雨辰沨  阅读(541)  评论(0)    收藏  举报