华为源镜像不管用的解决办法【坚果派】

华为源镜像不管用的解决办法

大家在开发的过程中,如果发现华为的源镜像更新比较慢,可以切换到下面的两个源镜像去尝试。

npm切换淘宝源镜像

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

npm切换官方源镜像

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

npm查看当前源镜像地址

npm config get registry

完毕。

猜你喜欢

转载自blog.csdn.net/qq_39132095/article/details/132223263