➜ 111 npx react-native init MyApp --template react-native-template-typescript
✔ Processing template
✖ Installing dependencies
error Error: Command failed: yarn install
error Couldn't find package "domexception@^2.0.1" required by "jsdom@^16.4.0" on the "npm" registry.
➜ 111 npm install -g jsdom
added 59 packages in 6s
➜ 111 npx react-native init AwesomeProject
✖ Downloading template
error Error: Command failed: yarn add react-native@latest
error Couldn't find package "@react-native-community/cli-platform-ios@^6.0.0" required by "react-native@latest" on the "npm" registry.
➜ 111 yarn global add @react-native-community/cli
yarn global v1.22.17
[1/4] 🔍 Resolving packages...
➜ 111 npx react-native init AwesomeProject
✖ Installing CocoaPo