查看npm下载镜像地址
npm config get registry
设置npm为淘宝镜像
npm config set registry http://registry.npm.taobao.org
然后可以执行 npm config get registry 查看镜像地址,如果没问题的话会出现 "http://registry.npm.taobao.org"。
查看npm下载镜像地址
npm config get registry
设置npm为淘宝镜像
npm config set registry http://registry.npm.taobao.org
然后可以执行 npm config get registry 查看镜像地址,如果没问题的话会出现 "http://registry.npm.taobao.org"。