npm 设置为国内镜像

如下:


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

npm get registry