npm设置仓库地址为国内地址

查看默认仓库的地址

使用npm get registry即可查看默认的仓库地址,一般为

https://registry.npmjs.org/

设置淘宝仓库地址

使用npm config set registry http://registry.npm.taobao.org/即可

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

npm设置仓库地址为国内地址
https://blog.cikaros.top/doc/e2c2a403.html
作者
Cikaros
发布于
2020年11月2日
许可协议