執(zhí)行命令react-native init AwesomeProject
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.npm.taobao.org/react-native: tunneling socket could not be established, cause=Parse Error".
taobao鏡像不可用
還原節(jié)點
執(zhí)行yarn config set registry https://registry.npmjs.org --global