错误信息:
解决方法:
1.修改https 配置为http(前面已设置了npm config set registry https://registry.npm.taobao.org)
2.运行npm config set registry http://registry.npmjs.org/
3.再运行npm install -g react-native-cli 成功