React Native project creation stalling at CocoaPods
913
I am trying to create a React Native project using react-native init
but it is stalling at CocoaPods
step. Following is my project creation output
MacBook-Pro-6:rn experimental$ react-native init AwesomeProject
This will walk you through creating a new React Native project in /Users/experimental/githome/rn/AwesomeProject
Using yarn v1.10.1
Installing react-native...
yarn add v1.10.1
info No lockfile found.
[1/4] š Resolving packages...
warning react-native > create-react-class > fbjs > [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] š Fetching packages...
[3/4] š Linking dependencies...
warning "react-native > [email protected]" has unmet peer dependency "@babel/core@*".
warning " > [email protected]" has unmet peer dependency "[email protected]".
[4/4] š Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.17.3", while you're on "1.10.1".
info To upgrade, run the following command:
$ brew upgrade yarn
success Saved 416 new dependencies.
info Direct dependencies
āā [email protected]
info All dependencies
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @babel/[email protected]
āā @cnakazawa/[email protected]
āā @hapi/[email protected]
āā @hapi/[email protected]
āā @hapi/[email protected]
āā @hapi/[email protected]
āā @hapi/[email protected]
āā @jest/[email protected]
āā @react-native-community/[email protected]
āā @react-native-community/[email protected]
āā @react-native-community/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āØ Done in 33.04s.
info Setting up new React Native app in /Users/experimental/githome/rn/AwesomeProject
info Adding required dependencies
yarn add v1.10.1
[1/4] š Resolving packages...
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: use String.prototype.padStart()
[2/4] š Fetching packages...
[3/4] š Linking dependencies...
warning " > @react-native-community/[email protected]" has unmet peer dependency "eslint@>=5".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@>= 4.12.1".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@>=2.0.0".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@>=4.19.1".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@>=5".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
[4/4] š Building fresh packages...
success Saved lockfile.
success Saved 142 new dependencies.
info Direct dependencies
āā @react-native-community/[email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
info All dependencies
āā @jest/[email protected]
āā @jest/[email protected]
āā @jest/[email protected]
āā @react-native-community/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āØ Done in 8.51s.
info Adding required dev dependencies
yarn add v1.10.1
[1/4] š Resolving packages...
[2/4] š Fetching packages...
warning Pattern ["@babel/core@^7.5.5"] is trying to unpack in the same destination "/Users/experimental/Library/Caches/Yarn/v2/npm-@babel/core-7.5.5-17b2686ef0d6bc58f963dddd68ab669755582c30" as pattern ["@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.1.0","@babel/core@^7.1.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@babel/runtime@^7.5.5"] is trying to unpack in the same destination "/Users/experimental/Library/Caches/Yarn/v2/npm-@babel/runtime-7.5.5-74fba56d35efbeca444091c7850ccd494fd2f132" as pattern ["@babel/runtime@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[3/4] š Linking dependencies...
warning "@react-native-community/eslint-config > [email protected]" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > [email protected]" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev".
[4/4] š Building fresh packages...
success Saved lockfile.
success Saved 44 new dependencies.
info Direct dependencies
āā @babel/[email protected]
āā @babel/[email protected]
āā @react-native-community/[email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
info All dependencies
āā @babel/[email protected]
āā @babel/[email protected]
āā @react-native-community/[email protected]
āā @types/[email protected]
āā @types/[email protected]
āā @typescript-eslint/[email protected]
āā @typescript-eslint/[email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āā [email protected]
āØ Done in 9.67s.
info Installing required CocoaPods dependencies
? CocoaPods (https://cocoapods.org/) is not installed. It's necessary for iOS project to run correctly. Do you want to install it? Yes
Password:
^C
1 Answer
5 years ago by VD
Install cocoapods
and then try creating your project. You can install by running following command.
sudo gem install cocoapods
5 years ago by Karthik Divi