npm修改镜像源的方法

查看当前的镜像地址

npm get registry

修改为淘宝镜像

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

使用npm原地址

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

npm镜像源 http://www.npmmirror.com/

tp://www.npmmirror.com/

chrome_JlnnoO0Aql

猜你喜欢

转载自blog.csdn.net/weixin_43472938/article/details/129053492