Skip to content

Instantly share code, notes, and snippets.

@tazsingh
Created April 4, 2017 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tazsingh/3e87be87af92f4650dc6d69a8b9755af to your computer and use it in GitHub Desktop.
Save tazsingh/3e87be87af92f4650dc6d69a8b9755af to your computer and use it in GitHub Desktop.
Ejecting `create-react-native-app` files
~/Code > create-react-native-app brohan-test
Creating a new React Native app in /Users/taz/Code/brohan-test.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...
yarn add v0.20.3
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning react-native-scripts > xdl > node-uuid@1.4.8: Use uuid module instead
warning react-native-scripts > xdl > auth0-js > xtend > object-keys@0.4.0:
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 374 new dependencies.
├─ @ccheever/crayon@5.0.0
├─ @exponent/json-file@5.3.0
├─ @exponent/ngrok@2.2.7
├─ @exponent/node-auth0@2.6.0
├─ @exponent/osascript@1.6.4
├─ @exponent/spawn-async@1.2.8
├─ @segment/loosely-validate-event@1.1.2
├─ abbrev@1.1.0
├─ accepts@1.3.3
├─ acorn@4.0.11
├─ agent-base@2.0.1
├─ ajv@4.11.5
├─ align-text@0.1.4
├─ alter@0.2.0
├─ amdefine@1.0.1
├─ analytics-node@2.4.0
├─ ansi-escapes@1.4.0
├─ ansi-regex@2.1.1
├─ ansi-styles@2.2.1
├─ any-promise@1.3.0
├─ array-flatten@1.1.1
├─ asap@2.0.5
├─ asn1@0.2.3
├─ assert-plus@0.2.0
├─ ast-traverse@0.1.1
├─ ast-types@0.9.10
├─ async@0.9.2
├─ asynckit@0.4.0
├─ auth0-js@7.6.1
├─ aws-sign2@0.6.0
├─ aws4@1.6.0
├─ babel-runtime@6.23.0
├─ balanced-match@0.4.2
├─ Base64@0.1.4
├─ base64url@2.0.0
├─ bcrypt-pbkdf@1.0.1
├─ binary@0.3.0
├─ block-stream@0.0.9
├─ bluebird@3.5.0
├─ body-parser@1.17.1
├─ boom@2.10.1
├─ brace-expansion@1.1.6
├─ breakable@1.0.0
├─ buffer-equal-constant-time@1.0.1
├─ buffer-shims@1.0.0
├─ buffers@0.1.1
├─ bunyan@1.8.9
├─ bytes@2.4.0
├─ camel-case@1.2.2
├─ camelcase@1.2.1
├─ caseless@0.12.0
├─ center-align@0.1.3
├─ chainsaw@0.1.0
├─ chalk@1.1.3
├─ change-case@2.3.1
├─ cli-cursor@2.1.0
├─ cli-width@2.1.0
├─ cliui@2.1.0
├─ clone@2.1.1
├─ co@4.6.0
├─ combined-stream@1.0.5
├─ commander@2.9.0
├─ commoner@0.10.8
├─ component-emitter@1.2.1
├─ component-type@1.2.1
├─ concat-map@0.0.1
├─ constant-case@1.1.2
├─ content-disposition@0.5.2
├─ content-type@1.0.2
├─ cookie-signature@1.0.6
├─ cookie@0.3.1
├─ cookiejar@2.1.0
├─ core-js@2.4.1
├─ core-util-is@1.0.2
├─ cross-spawn@5.1.0
├─ cryptiles@2.0.5
├─ crypto-token@1.0.1
├─ dashdash@1.14.1
├─ data-uri-to-buffer@0.0.4
├─ debug@2.6.1
├─ decamelize@1.2.0
├─ decompress-zip@0.3.0
├─ deep-diff@0.3.4
├─ deep-is@0.1.3
├─ defined@1.0.0
├─ defs@1.1.1
├─ degenerator@1.0.4
├─ delay-async@1.1.0
├─ delayed-stream@1.0.0
├─ depd@1.1.0
├─ destroy@1.0.4
├─ detective@4.5.0
├─ dot-case@1.1.2
├─ dtrace-provider@0.8.1
├─ ecc-jsbn@0.1.1
├─ ecdsa-sig-formatter@1.0.9
├─ ee-first@1.1.1
├─ encodeurl@1.0.1
├─ encoding@0.1.12
├─ es6-error@4.0.2
├─ escape-html@1.0.3
├─ escape-string-regexp@1.0.5
├─ escodegen@1.8.1
├─ esprima-fb@15001.1001.0-dev-harmony-fb
├─ esprima@3.1.3
├─ estraverse@1.9.3
├─ esutils@2.0.2
├─ etag@1.8.0
├─ exec-async@2.2.0
├─ exists-async@2.0.0
├─ express@4.15.2
├─ extend@3.0.0
├─ external-editor@2.0.1
├─ extsprintf@1.0.2
├─ fast-levenshtein@2.0.6
├─ fbjs@0.8.12
├─ figures@2.0.0
├─ file-type@4.1.0
├─ file-uri-to-path@0.0.2
├─ finalhandler@1.0.1
├─ forever-agent@0.6.1
├─ form-data@2.1.2
├─ formidable@1.1.1
├─ forwarded@0.1.0
├─ freeport-async@1.1.1
├─ fresh@0.5.0
├─ fs-extra@0.30.0
├─ fs-promise@1.0.0
├─ fs.realpath@1.0.0
├─ fstream@1.0.11
├─ ftp@0.3.10
├─ get-uri@1.1.0
├─ getpass@0.1.6
├─ glob@7.1.1
├─ graceful-fs@4.1.11
├─ graceful-readlink@1.0.1
├─ har-schema@1.0.5
├─ har-validator@4.2.1
├─ has-ansi@2.0.0
├─ has-color@0.1.7
├─ hasbin@1.2.3
├─ hawk@3.1.3
├─ hoek@4.1.1
├─ hoist-non-react-statics@1.2.0
├─ home-dir@1.0.0
├─ http-errors@1.6.1
├─ http-proxy-agent@1.0.0
├─ http-signature@1.1.1
├─ https-proxy-agent@1.0.0
├─ iconv-lite@0.4.15
├─ indent-string@3.1.0
├─ inflight@1.0.6
├─ inherits@2.0.3
├─ inquirer@3.0.6
├─ instapromise@2.0.7-rc.1
├─ invariant@2.2.2
├─ invert-kv@1.0.0
├─ ip@1.1.5
├─ ipaddr.js@1.3.0
├─ is-buffer@1.1.5
├─ is-fullwidth-code-point@2.0.0
├─ is-lower-case@1.1.3
├─ is-promise@2.1.0
├─ is-stream@1.1.0
├─ is-typedarray@1.0.0
├─ is-upper-case@1.1.2
├─ isarray@0.0.1
├─ isemail@2.2.1
├─ isexe@2.0.0
├─ isomorphic-fetch@2.2.1
├─ isstream@0.1.2
├─ items@2.1.1
├─ jodid25519@1.0.2
├─ joi@10.4.1
├─ join-component@1.1.0
├─ js-tokens@3.0.1
├─ jsbn@0.1.1
├─ json-fallback@0.0.1
├─ json-schema@0.2.3
├─ json-stable-stringify@1.0.1
├─ json-stringify-safe@5.0.1
├─ json5@0.5.1
├─ jsonfile@2.4.0
├─ jsonify@0.0.0
├─ jsonp@0.0.4
├─ jsonschema@1.1.1
├─ jsonwebtoken@7.3.0
├─ jsprim@1.4.0
├─ jwa@1.1.5
├─ jws@3.1.4
├─ kind-of@3.1.0
├─ klaw@1.3.1
├─ lazy-cache@1.0.4
├─ lcid@1.0.0
├─ levn@0.3.0
├─ lock@0.1.3
├─ lodash-es@4.17.4
├─ lodash.once@4.1.1
├─ lodash@4.17.4
├─ longest@1.0.1
├─ loose-envify@1.3.1
├─ lower-case-first@1.0.2
├─ lower-case@1.1.4
├─ lru-cache@4.0.2
├─ match-require@2.1.0
├─ md5hex@1.0.0
├─ media-typer@0.3.0
├─ merge-descriptors@1.0.1
├─ methods@1.1.2
├─ mime-db@1.27.0
├─ mime-types@2.1.15
├─ mime@1.3.4
├─ mimic-fn@1.1.0
├─ minimatch@3.0.3
├─ minimist@1.2.0
├─ mkdirp-promise@5.0.1
├─ mkdirp@0.5.1
├─ mkpath@0.1.0
├─ moment@2.18.1
├─ mout@0.11.1
├─ ms@0.7.3
├─ mute-stream@0.0.7
├─ mv@2.1.1
├─ mz@2.6.0
├─ nan@2.5.1
├─ ncp@2.0.0
├─ negotiator@0.6.1
├─ netmask@1.0.6
├─ node-fetch@1.6.3
├─ node-uuid@1.4.8
├─ nopt@3.0.6
├─ oauth-sign@0.8.2
├─ object-assign@4.1.1
├─ object-keys@0.4.0
├─ on-finished@2.3.0
├─ once@1.4.0
├─ onetime@2.0.1
├─ opn@4.0.2
├─ optionator@0.8.2
├─ os-locale@1.4.0
├─ os-tmpdir@1.0.2
├─ pac-proxy-agent@1.0.0
├─ pac-resolver@1.2.6
├─ param-case@1.1.2
├─ parseurl@1.3.1
├─ pascal-case@1.1.2
├─ path-case@1.1.2
├─ path-exists@3.0.0
├─ path-is-absolute@1.0.1
├─ path-to-regexp@0.1.7
├─ performance-now@0.2.0
├─ pify@2.3.0
├─ pinkie-promise@2.0.1
├─ pinkie@2.0.4
├─ prelude-ls@1.1.2
├─ private@0.1.7
├─ process-nextick-args@1.0.7
├─ promise-props@1.0.0
├─ promise@7.1.1
├─ proxy-addr@1.1.4
├─ proxy-agent@2.0.0
├─ pseudomap@1.0.2
├─ punycode@1.3.2
├─ q@1.5.0
├─ qrcode-terminal@0.11.0
├─ qs@6.4.0
├─ querystring@0.2.0
├─ range-parser@1.2.0
├─ raw-body@2.2.0
├─ react-native-scripts@0.0.26
├─ react-redux@5.0.3
├─ react@15.4.2
├─ read-chunk@2.0.0
├─ readable-stream@1.1.14
├─ recast@0.10.33
├─ redux-logger@2.10.2
├─ redux@3.6.0
├─ regenerator-runtime@0.10.3
├─ regenerator@0.8.46
├─ remove-trailing-slash@0.1.0
├─ repeat-string@1.6.1
├─ request-progress@3.0.0
├─ request@2.81.0
├─ reqwest@2.0.5
├─ rest-facade@1.5.0
├─ restore-cursor@2.0.0
├─ right-align@0.1.3
├─ rimraf@2.6.1
├─ run-async@2.3.0
├─ rx@4.1.0
├─ safe-buffer@5.0.1
├─ safe-json-stringify@1.0.4
├─ semver@5.3.0
├─ send@0.15.1
├─ sentence-case@1.1.3
├─ serve-static@1.12.1
├─ setimmediate@1.0.5
├─ setprototypeof@1.0.3
├─ shebang-command@1.2.0
├─ shebang-regex@1.0.0
├─ signal-exit@3.0.2
├─ simple-fmt@0.1.0
├─ simple-is@0.2.0
├─ slugid@1.1.0
├─ slugify@1.1.0
├─ smart-buffer@1.1.15
├─ snake-case@1.1.2
├─ sntp@1.0.9
├─ socks-proxy-agent@2.0.0
├─ socks@1.1.10
├─ source-map-support@0.4.14
├─ source-map@0.5.6
├─ sshpk@1.11.0
├─ stable@0.1.6
├─ statuses@1.3.1
├─ stream-to-buffer@0.1.0
├─ stream-to@0.2.2
├─ string_decoder@0.10.31
├─ string-width@2.0.0
├─ stringmap@0.2.2
├─ stringset@0.2.1
├─ stringstream@0.0.5
├─ strip-ansi@3.0.1
├─ superagent-proxy@1.0.2
├─ superagent-retry@0.6.0
├─ superagent@3.5.2
├─ supports-color@2.0.0
├─ swap-case@1.1.2
├─ symbol-observable@1.0.4
├─ tar.gz@1.0.5
├─ tar@2.2.1
├─ thenify-all@1.6.0
├─ thenify@3.2.1
├─ throttleit@1.0.0
├─ through@2.3.8
├─ thunkify@2.1.2
├─ title-case@1.1.2
├─ tmp@0.0.31
├─ topo@2.0.2
├─ touch@0.0.3
├─ tough-cookie@2.3.2
├─ traverse@0.3.9
├─ tree-kill@1.1.0
├─ trim@0.0.1
├─ tryor@0.1.2
├─ tunnel-agent@0.6.0
├─ tweetnacl@0.14.5
├─ type-check@0.3.2
├─ type-is@1.6.15
├─ ua-parser-js@0.7.12
├─ unpipe@1.0.0
├─ upper-case-first@1.1.2
├─ upper-case@1.1.3
├─ url-join@0.0.1
├─ url@0.11.0
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.0
├─ uuid@3.0.1
├─ vary@1.1.1
├─ verror@1.3.6
├─ whatwg-fetch@2.0.3
├─ which@1.2.14
├─ winchan@0.1.4
├─ window-size@0.1.4
├─ wordwrap@1.0.0
├─ wrappy@1.0.2
├─ xdl@37.0.2
├─ xhr2@0.1.4
├─ xregexp@2.0.0
├─ xtend@4.0.1
├─ y18n@3.2.1
├─ yallist@2.1.2
├─ yargs@3.27.0
└─ yesno@0.0.1
✨ Done in 63.74s.
Installing dependencies using yarnpkg...
yarn install v0.20.3
[1/4] 🔍 Resolving packages...
warning react-native > xcode > node-uuid@1.4.7: Use uuid module instead
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 119.01s.
Success! Created brohan-test at /Users/taz/Code/brohan-test
Inside that directory, you can run several commands:
yarn start
Starts the development server so you can open your app in the Expo
app on your phone.
yarn run ios
(Mac only, requires Xcode)
Starts the development server and loads your app in an iOS simulator.
yarn run android
(Requires Android build tools)
Starts the development server and loads your app on a connected Android
device or emulator.
yarn test
Starts the test runner.
yarn run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd brohan-test
yarn start
Happy hacking!
~/Code > yarn run eject
yarn run v0.20.3
error Couldn't find a package.json file in "/Users/taz/Code"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
~/Code > cd brohan-test/
~/Code/brohan-test > yarn run eject
yarn run v0.20.3
$ react-native-scripts eject
We didn't find any uses of the Expo SDK in your project, so you should be fine to eject to
"Plain" React Native. (This check isn't very sophisticated, though.)
We strongly recommend that you read this document before you proceed:
https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md
Ejecting is permanent! Please be careful with your selection.
? How would you like to eject from create-react-native-app? ExpoKit: I'll create or log in with an Expo account to use React Native and the Expo SDK.
An Expo account is required to proceed.
? How would you like to authenticate? Make a new Expo account
Thanks for signing up for Expo!
Just a few questions:
? First (Given) Name: Taz
? Last (Family) Name: Singh
? Username: tazsingh
? Email Address: taz@torontojs.com
? Password: ********
? Password Repeat: ********
Registration successful!
You'll need to specify an iOS bundle identifier. It must be unique on the App Store if you want to
publish it there. See this StackOverflow question for more information:
https://stackoverflow.com/questions/11347470/what-does-bundle-identifier-mean-in-the-ios-project
? What would you like your iOS bundle identifier to be? brohan-test
You'll need to specify an Android package name. It must be unique on the Play Store if you want to
publish it there. See this StackOverflow question for more information:
https://stackoverflow.com/questions/6273892/android-package-name-convention
? What would you like your Android package name to be? brohan-test
Validating project manifest...
Downloading iOS code...
Moving iOS project files...
Naming iOS project...
Configuring iOS project...
Using shell config: { manifestUrl: 'exp://exp.host/@tazsingh/brohan-test',
isShell: true,
isManifestVerificationBypassed: true }
Manifest does not specify ios.iconUrl29x29@2x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl29x29@3x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl40x40@2x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl40x40@3x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl60x60@2x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl60x60@3x nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl76x76~ipad nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl76x76@2x~ipad nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl83.5x83.5@2x~ipad nor a default iconUrl. Bundle will use the Expo logo.
Manifest does not specify ios.iconUrl83.5x83.5@3x~ipad nor a default iconUrl. Bundle will use the Expo logo.
Configuring iOS dependencies...
Cleaning up iOS...
iOS detach is complete! To configure iOS native dependencies, make sure you have the Cocoapods gem, then `cd ios && pod install`
Downloading Android code...
Moving Android project files...
Configuring Android project...
Naming Android project...
Cleaning up Android...
Android detach is complete!
Writing ExpoKit configuration...
Finished detaching your project! Look in the `android` and `ios` directories for the respective native projects.
Successfully set up ExpoKit!
You'll need to use Expo's XDE to run this project:
https://docs.expo.io/versions/latest/introduction/installation.html
For further instructions, please read ExpoKit's build documentation:
https://docs.expo.io/versions/latest/guides/expokit.html
Ejected successfully!
Please consider letting us know why you ejected in this survey:
https://goo.gl/forms/iD6pl218r7fn9N0d2
✨ Done in 883.72s.
~/Code/brohan-test > ll
total 504
drwxr-xr-x 17 taz staff 578B 4 Apr 20:39 .
drwxr-xr-x 43 taz staff 1.4K 4 Apr 20:21 ..
-rw-r--r-- 1 taz staff 130B 4 Apr 20:22 .babelrc
drwxr-xr-x 4 taz staff 136B 4 Apr 20:38 .expo-source
-rw-r--r-- 1 taz staff 1.8K 4 Apr 20:22 .flowconfig
-rw-r--r-- 1 taz staff 33B 4 Apr 20:22 .gitignore
-rw-r--r-- 1 taz staff 3B 4 Apr 20:22 .watchmanconfig
-rw-r--r-- 1 taz staff 580B 4 Apr 20:22 App.js
-rw-r--r-- 1 taz staff 228B 4 Apr 20:22 App.test.js
-rw-r--r-- 1 taz staff 13K 4 Apr 20:22 README.md
drwxr-xr-x 10 taz staff 340B 4 Apr 20:39 android
-rw-r--r-- 1 taz staff 630B 4 Apr 20:39 app.json
-rw-r--r-- 1 taz staff 84B 4 Apr 20:39 index.js
drwxr-xr-x 7 taz staff 238B 4 Apr 20:38 ios
drwxr-xr-x 768 taz staff 26K 4 Apr 20:24 node_modules
-rw-r--r-- 1 taz staff 459B 4 Apr 20:39 package.json
-rw-r--r-- 1 taz staff 199K 4 Apr 20:24 yarn.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment