Skip to content

Instantly share code, notes, and snippets.

@JosielFaleiros
Created October 24, 2018 20:33
Show Gist options
  • Save JosielFaleiros/1c83ef549342efae951d36860fb1fee5 to your computer and use it in GitHub Desktop.
Save JosielFaleiros/1c83ef549342efae951d36860fb1fee5 to your computer and use it in GitHub Desktop.
josiel@josiel-pc:~$ react-native init AwesomeRNProject
This will walk you through creating a new React Native project in /home/josiel/AwesomeRNProject
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN react-native@0.57.3 requires a peer of react@16.6.0-alpha.8af6728 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ react-native@0.57.3
added 717 packages from 356 contributors and audited 16344 packages in 39.999s
found 0 vulnerabilities
Setting up new React Native app in /home/josiel/AwesomeRNProject
Installing React...
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ react@16.6.0-alpha.8af6728
added 2 packages and audited 16356 packages in 7.076s
found 0 vulnerabilities
Installing Jest...
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ metro-react-native-babel-preset@0.48.1
+ babel-jest@23.6.0
+ react-test-renderer@16.6.0-alpha.8af6728
+ jest@23.6.0
added 256 packages from 222 contributors, updated 1 package and audited 34858 packages in 18.137s
found 0 vulnerabilities
To run your app on iOS:
cd /home/josiel/AwesomeRNProject
react-native run-ios
- or -
Open ios/AwesomeRNProject.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
cd /home/josiel/AwesomeRNProject
Have an Android emulator running (quickest way to get started), or a device connected
react-native run-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment