命令行输入
npm config set registry https://registry.npm.taobao.org
查看是否成功
npm config get registry #返回 https://registry.npm.taobao.org/
本文来自博客园,作者:手可摘星辰/*,转载请注明原文链接:https://www.cnblogs.com/u-damowang1/p/13755320.html