解决 react-native init 慢的问题--思鹏博客,思鹏代码库


npm config set registry https://registry.npm.taobao.org 
npm info underscore (如果上面配置正确这个命令会有字符串response
npm --registry https://registry.npm.taobao.org info underscore 
编辑 .npmrc 加入下面内容
registry = https://registry.npm.taobao.org

评论