react-native init ProjectName --version 0.44.3。
报错
Command `yarn add react-native@0.44.3 --exact` failed.
yarn add v0.27.5
info No lockfile found.
[1/4] Resolving packages...
warning react-native > connect@2.30.2: connect 2.x series is deprecated
error An unexpected error occurred: "https://registry.yarnpkg.com/art: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/xhqb/Documents/RNDemo/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
需要重新设置镜像
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist