在react-native init 项目的时候 ,卡的要死,几个小时都没成功,还把网速拖的好卡,完全不能上网。然后换了一个npm镜像1分钟搞定。 操作方法如下: 1.通过config命令 npm config set registry=http://registry.npm.taobao.org 2.编辑 ~/.npmrc 加入下面内容 registr...