error An unexpected error occurred: "https://registry.npm.taobao.org/react-native: tunneling sock...

执行命令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镜像不可用
还原节点

执行yarn config set registry https://registry.npmjs.org --global

你可能感兴趣的:(error An unexpected error occurred: "https://registry.npm.taobao.org/react-native: tunneling sock...)