npm换源至淘宝镜像

1. 直接终端输入

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

2.查看是否设置成功

npm config list

 

posted @ 2020-04-14 17:00  必慎  阅读(481)  评论(0)    收藏  举报