npm设置镜像源查询当前使用的镜像源1npm config get registry 设置为淘宝镜像源1npm config set registry https://registry.npmmirror.com/ 还原为官方镜像源1npm config set registry https://registry.npmjs.org