开发React Native时,通过下面命令将npm设置成淘宝镜像
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
现在需要将淘宝镜像去掉,还原成官方镜像,请问如何处理?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
手动的太麻烦了,一般用 https://www.npmjs.com/package/nrm 做切换