Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about react-native init AwesomeProject? #841

Closed
leiyong316 opened this issue Apr 14, 2015 · 16 comments
Closed

about react-native init AwesomeProject? #841

leiyong316 opened this issue Apr 14, 2015 · 16 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@leiyong316
Copy link

I execute this command to wait a very long time

dfb9898c-b69d-4f28-8103-0f2676fe57a0

@siuying
Copy link

siuying commented Apr 14, 2015

If you are in China you might hit the GFW?

@brentvatne
Copy link
Collaborator

@leiyong316 - When you run react-native init, it will create a new project and also run npm install and pull in react-native - it can potentially take a while to run, especially if you're on a slow connection or, as @siuying mentioned, it may not work at all if you're behind a firewall.

Closing this issue, feel free to create a new one with more details (how long you waited, whether it ever completed, whether you have issues with other npm packages, any logs) if he above clarification didn't help! 😄

@ghost
Copy link

ghost commented Sep 1, 2015

Same problem here. I am not on a slow connection. It just seems like it never stops loading after
"This will walk you through creating a new React Native project in /Users/Name/AwesomeProject"

I have a 16mbit connection. It seems to create the node_modules and the package.json and that's it.

@ibrahim9
Copy link

ibrahim9 commented Sep 2, 2015

same here :(

@moimael
Copy link

moimael commented Sep 15, 2015

same for me

@zjx9461
Copy link

zjx9461 commented Sep 20, 2015

same with me .
Mac:10.11
Xcode:beta7

@tcrous
Copy link

tcrous commented Sep 22, 2015

Experiencing the same very slow init, but it does eventually finish and create the Project

@gumpyoung
Copy link

For who is wondering what react-native is actually doing, use (example for OSX):
sudo react-native init <your project name> --verbose

@qtdc1229
Copy link

sudo react-native init AwesomeProject --verbose

then stop at package.json written

prompt: Directory AwesomeProject already exist. Continue?:  (no) yes
This will walk you through creating a new React Native project in /Users/dingchao/AwesomeProject
Installing react-native package from npm...
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli   '/usr/local/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--save',
npm verb cli   'react-native' ]
npm info using npm@2.14.4
npm info using node@v4.1.2
npm verb install initial load of /Users/dingchao/AwesomeProject/package.json
npm verb installManyTop reading scoped package data from /Users/dingchao/AwesomeProject/node_modules/react-native/package.json
npm verb readDependencies loading dependencies from /Users/dingchao/AwesomeProject/package.json
npm verb install react-native is installed as 0.12.0
npm verb cache add spec react-native
npm verb addNamed "*" is a valid semver range for react-native
npm verb addNameRange registry:https://registry.npmjs.org/react-native not in flight; fetching
npm verb request uri https://registry.npmjs.org/react-native
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:49
npm verb request id a3ebbf0b1d2bfac7
npm verb etag "9BN12Z89GJE5EANL3TJ4ZWTN6"
npm http request GET https://registry.npmjs.org/react-native
npm http 304 https://registry.npmjs.org/react-native
npm verb etag https://registry.npmjs.org/react-native from cache
npm verb get saving react-native to /Users/dingchao/.npm/registry.npmjs.org/react-native/.cache.json
npm verb addNamed "0.12.0" is a plain semver version for react-native
npm verb afterAdd /Users/dingchao/.npm/react-native/0.12.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/react-native/0.12.0/package/package.json written
npm info install react-native@0.12.0 into /Users/dingchao/AwesomeProject
npm info installOne react-native@0.12.0
npm verb installOne of react-native to /Users/dingchao/AwesomeProject not in flight; installing
npm verb lock using /Users/dingchao/.npm/_locks/react-native-3397ca5154ef9acc.lock for /Users/dingchao/AwesomeProject/node_modules/react-native
npm verb unbuild node_modules/react-native
npm info preuninstall react-native@0.12.0
npm info uninstall react-native@0.12.0
npm verb unbuild rmStuff react-native@0.12.0 from /Users/dingchao/AwesomeProject/node_modules
npm verb gentlyRm vacuuming from /Users/dingchao/AwesomeProject/node_modules/.bin/react-native-start up to /Users/dingchao/AwesomeProject
npm info postuninstall react-native@0.12.0
npm verb gentlyRm don't care about contents; nuking /Users/dingchao/AwesomeProject/node_modules/react-native
npm verb tar unpack /Users/dingchao/.npm/react-native/0.12.0/package.tgz
npm verb tar unpacking to /Users/dingchao/AwesomeProject/node_modules/react-native
npm verb gentlyRm don't care about contents; nuking /Users/dingchao/AwesomeProject/node_modules/react-native
npm verb write writing to /Users/dingchao/AwesomeProject/node_modules/react-native/package.json
npm info preinstall react-native@0.12.0
npm verb readDependencies loading dependencies from /Users/dingchao/AwesomeProject/node_modules/react-native/package.json
npm verb readDependencies loading dependencies from /Users/dingchao/AwesomeProject/node_modules/react-native/package.json
npm verb cache add spec babel-core@^5.8.23
npm verb addNamed ">=5.8.23 <6.0.0" is a valid semver range for babel-core
npm verb addNameRange registry:https://registry.npmjs.org/babel-core not in flight; fetching
npm verb cache add spec bser@^1.0.2
npm verb addNamed ">=1.0.2 <2.0.0" is a valid semver range for bser
npm verb addNameRange registry:https://registry.npmjs.org/bser not in flight; fetching
npm verb cache add spec chalk@^1.1.1
npm verb addNamed ">=1.1.1 <2.0.0" is a valid semver range for chalk
npm verb addNameRange registry:https://registry.npmjs.org/chalk not in flight; fetching
npm verb cache add spec connect@^2.8.3
npm verb addNamed ">=2.8.3 <3.0.0" is a valid semver range for connect
npm verb addNameRange registry:https://registry.npmjs.org/connect not in flight; fetching
npm verb cache add spec debug@^2.2.0
npm verb addNamed ">=2.2.0 <3.0.0" is a valid semver range for debug
npm verb addNameRange registry:https://registry.npmjs.org/debug not in flight; fetching
npm verb cache add spec fbjs-scripts@^0.2.1
npm verb addNamed ">=0.2.1 <0.3.0" is a valid semver range for fbjs-scripts
npm verb addNameRange registry:https://registry.npmjs.org/fbjs-scripts not in flight; fetching
npm verb cache add spec graceful-fs@^4.1.2
npm verb addNamed ">=4.1.2 <5.0.0" is a valid semver range for graceful-fs
npm verb addNameRange registry:https://registry.npmjs.org/graceful-fs not in flight; fetching
npm verb cache add spec image-size@^0.3.5
npm verb addNamed ">=0.3.5 <0.4.0" is a valid semver range for image-size
npm verb addNameRange registry:https://registry.npmjs.org/image-size not in flight; fetching
npm verb cache add spec immutable@^3.7.5
npm verb addNamed ">=3.7.5 <4.0.0" is a valid semver range for immutable
npm verb addNameRange registry:https://registry.npmjs.org/immutable not in flight; fetching
npm verb cache add spec joi@^6.6.1
npm verb addNamed ">=6.6.1 <7.0.0" is a valid semver range for joi
npm verb addNameRange registry:https://registry.npmjs.org/joi not in flight; fetching
npm verb cache add spec jstransform@^11.0.3
npm verb addNamed ">=11.0.3 <12.0.0" is a valid semver range for jstransform
npm verb addNameRange registry:https://registry.npmjs.org/jstransform not in flight; fetching
npm verb cache add spec module-deps@^3.9.1
npm verb addNamed ">=3.9.1 <4.0.0" is a valid semver range for module-deps
npm verb addNameRange registry:https://registry.npmjs.org/module-deps not in flight; fetching
npm verb cache add spec optimist@^0.6.1
npm verb addNamed ">=0.6.1 <0.7.0" is a valid semver range for optimist
npm verb addNameRange registry:https://registry.npmjs.org/optimist not in flight; fetching
npm verb cache add spec progress@^1.1.8
npm verb addNamed ">=1.1.8 <2.0.0" is a valid semver range for progress
npm verb addNameRange registry:https://registry.npmjs.org/progress not in flight; fetching
npm verb cache add spec promise@^7.0.4
npm verb addNamed ">=7.0.4 <8.0.0" is a valid semver range for promise
npm verb addNameRange registry:https://registry.npmjs.org/promise not in flight; fetching
npm verb cache add spec react-timer-mixin@^0.13.2
npm verb addNamed ">=0.13.2 <0.14.0" is a valid semver range for react-timer-mixin
npm verb addNameRange registry:https://registry.npmjs.org/react-timer-mixin not in flight; fetching
npm verb cache add spec react-tools@git://github.com/facebook/react.git#b4e74e38e43ac53af8acd62c78c9213be0194245
npm verb cache add spec rebound@^0.0.13
npm verb addNamed ">=0.0.13 <0.0.14" is a valid semver range for rebound
npm verb addNameRange registry:https://registry.npmjs.org/rebound not in flight; fetching
npm verb cache add spec regenerator@^0.8.36
npm verb addNamed ">=0.8.36 <0.9.0" is a valid semver range for regenerator
npm verb addNameRange registry:https://registry.npmjs.org/regenerator not in flight; fetching
npm verb cache add spec sane@^1.2.0
npm verb addNamed ">=1.2.0 <2.0.0" is a valid semver range for sane
npm verb addNameRange registry:https://registry.npmjs.org/sane not in flight; fetching
npm verb cache add spec semver@^5.0.1
npm verb addNamed ">=5.0.1 <6.0.0" is a valid semver range for semver
npm verb addNameRange registry:https://registry.npmjs.org/semver not in flight; fetching
npm verb cache add spec source-map@^0.4.4
npm verb addNamed ">=0.4.4 <0.5.0" is a valid semver range for source-map
npm verb addNameRange registry:https://registry.npmjs.org/source-map not in flight; fetching
npm verb cache add spec stacktrace-parser@^0.1.3
npm verb addNamed ">=0.1.3 <0.2.0" is a valid semver range for stacktrace-parser
npm verb addNameRange registry:https://registry.npmjs.org/stacktrace-parser not in flight; fetching
npm verb cache add spec tinycolor2@^1.1.2
npm verb addNamed ">=1.1.2 <2.0.0" is a valid semver range for tinycolor2
npm verb addNameRange registry:https://registry.npmjs.org/tinycolor2 not in flight; fetching
npm verb cache add spec uglify-js@^2.4.24
npm verb addNamed ">=2.4.24 <3.0.0" is a valid semver range for uglify-js
npm verb addNameRange registry:https://registry.npmjs.org/uglify-js not in flight; fetching
npm verb cache add spec underscore@^1.8.3
npm verb addNamed ">=1.8.3 <2.0.0" is a valid semver range for underscore
npm verb addNameRange registry:https://registry.npmjs.org/underscore not in flight; fetching
npm verb cache add spec wordwrap@^1.0.0
npm verb addNamed ">=1.0.0 <2.0.0" is a valid semver range for wordwrap
npm verb addNameRange registry:https://registry.npmjs.org/wordwrap not in flight; fetching
npm verb cache add spec worker-farm@^1.3.1
npm verb addNamed ">=1.3.1 <2.0.0" is a valid semver range for worker-farm
npm verb addNameRange registry:https://registry.npmjs.org/worker-farm not in flight; fetching
npm verb cache add spec ws@^0.8.0
npm verb addNamed ">=0.8.0 <0.9.0" is a valid semver range for ws
npm verb addNameRange registry:https://registry.npmjs.org/ws not in flight; fetching
npm verb cache add spec yargs@^3.24.0
npm verb addNamed ">=3.24.0 <4.0.0" is a valid semver range for yargs
npm verb addNameRange registry:https://registry.npmjs.org/yargs not in flight; fetching
npm verb cache add spec yeoman-environment@^1.2.7
npm verb addNamed ">=1.2.7 <2.0.0" is a valid semver range for yeoman-environment
npm verb addNameRange registry:https://registry.npmjs.org/yeoman-environment not in flight; fetching
npm verb cache add spec yeoman-generator@^0.20.3
npm verb addNamed ">=0.20.3 <0.21.0" is a valid semver range for yeoman-generator
npm verb addNameRange registry:https://registry.npmjs.org/yeoman-generator not in flight; fetching
npm verb cache add spec absolute-path@^0.0.0
npm verb addNamed ">=0.0.0 <0.0.1" is a valid semver range for absolute-path
npm verb addNameRange registry:https://registry.npmjs.org/absolute-path not in flight; fetching
npm verb cache add spec babel@^5.8.23
npm verb addNamed ">=5.8.23 <6.0.0" is a valid semver range for babel
npm verb addNameRange registry:https://registry.npmjs.org/babel not in flight; fetching
npm verb addRemoteGit caching git://github.com/facebook/react.git#b4e74e38e43ac53af8acd62c78c9213be0194245
npm verb addRemoteGit git://github.com/facebook/react.git#b4e74e38e43ac53af8acd62c78c9213be0194245 is a repository hosted by github
npm verb tryClone git-github-com-facebook-react-git-baa2986b not in flight; caching
npm verb request uri https://registry.npmjs.org/chalk
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "A4AG0CHZY80I2C0N8D8M4J1GB"
npm http request GET https://registry.npmjs.org/chalk
npm verb request uri https://registry.npmjs.org/bser
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "2XVUYZ9TWKK5KJGBKT2SBZAO"
npm http request GET https://registry.npmjs.org/bser
npm verb request uri https://registry.npmjs.org/babel-core
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "45NQ5Z1HDEFSQAWBJ6NMXZWW0"
npm http request GET https://registry.npmjs.org/babel-core
npm verb request uri https://registry.npmjs.org/debug
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "938GCOMZPRYL0MRL59P6EH0XW"
npm http request GET https://registry.npmjs.org/debug
npm verb request uri https://registry.npmjs.org/connect
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "DMT9CNKIB3HPGWYHF1NTQNQ7R"
npm http request GET https://registry.npmjs.org/connect
npm verb request uri https://registry.npmjs.org/fbjs-scripts
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "A4K53NMGIU8980UCO5M8BVWX8"
npm http request GET https://registry.npmjs.org/fbjs-scripts
npm verb request uri https://registry.npmjs.org/graceful-fs
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "6A8OIHSAUDCCUMW7MWX3L6A9C"
npm http request GET https://registry.npmjs.org/graceful-fs
npm verb request uri https://registry.npmjs.org/image-size
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "8C4NKRBYO19O9A5BGYVCMUGT4"
npm http request GET https://registry.npmjs.org/image-size
npm verb request uri https://registry.npmjs.org/immutable
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "6WDQRFSZSSWXOWP9ZDW3BESKK"
npm http request GET https://registry.npmjs.org/immutable
npm verb request uri https://registry.npmjs.org/jstransform
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "47B7F6QLHW6K515EWMAOJ4LOW"
npm http request GET https://registry.npmjs.org/jstransform
npm verb request uri https://registry.npmjs.org/optimist
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "9RQUNK7BUOJS98VF9ZAO7UP4H"
npm http request GET https://registry.npmjs.org/optimist
npm verb request uri https://registry.npmjs.org/progress
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "1E18LWJKPT6532IK1ESQPPXBV"
npm http request GET https://registry.npmjs.org/progress
npm verb request uri https://registry.npmjs.org/joi
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "81EJ0WAAALXQ5ZGP6E8WWBYQH"
npm http request GET https://registry.npmjs.org/joi
npm verb request uri https://registry.npmjs.org/promise
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "9R1UWSKEQUA39DI36IQ35DJC6"
npm http request GET https://registry.npmjs.org/promise
npm verb request uri https://registry.npmjs.org/module-deps
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "9E6ZZMT0G07VKN3D37MVGRV1M"
npm http request GET https://registry.npmjs.org/module-deps
npm verb request uri https://registry.npmjs.org/react-timer-mixin
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "EPU2Y62XVRQT5W62E6J6GQ2MU"
npm http request GET https://registry.npmjs.org/react-timer-mixin
npm verb request uri https://registry.npmjs.org/rebound
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "1CXSQLMNES4YIJ6CZOPVBNOW0"
npm http request GET https://registry.npmjs.org/rebound
npm verb request uri https://registry.npmjs.org/sane
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "6JM6X2O9HYSPW391OMVKU1EZA"
npm http request GET https://registry.npmjs.org/sane
npm verb request uri https://registry.npmjs.org/regenerator
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "7E10J75CMHUJPWO7UH0UXK54M"
npm http request GET https://registry.npmjs.org/regenerator
npm verb request uri https://registry.npmjs.org/stacktrace-parser
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "1VJZMUPGMM32NI50EQZZPJ2SK"
npm http request GET https://registry.npmjs.org/stacktrace-parser
npm verb request uri https://registry.npmjs.org/source-map
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "42K53LDDF1ONWC2DR3KJYJZ8J"
npm http request GET https://registry.npmjs.org/source-map
npm verb request uri https://registry.npmjs.org/semver
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "7JOYOOBN12ENCTVXABTC8ATNA"
npm http request GET https://registry.npmjs.org/semver
npm verb request uri https://registry.npmjs.org/tinycolor2
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "C5ILJEHXYV0YG4HI2YX6NI8E4"
npm http request GET https://registry.npmjs.org/tinycolor2
npm verb request uri https://registry.npmjs.org/wordwrap
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "73LBTAP4GYYX0WY7YM3IQ89SJ"
npm http request GET https://registry.npmjs.org/wordwrap
npm verb request uri https://registry.npmjs.org/worker-farm
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "CXU06ZEUSDK9QI96LZV4XRC6C"
npm http request GET https://registry.npmjs.org/worker-farm
npm verb request uri https://registry.npmjs.org/underscore
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "6G88MAMQK4DS4O6CS4QHHWC5T"
npm http request GET https://registry.npmjs.org/underscore
npm verb request uri https://registry.npmjs.org/yargs
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "N7UNE71RN7DY1GN2LO46SXAO"
npm http request GET https://registry.npmjs.org/yargs
npm verb request uri https://registry.npmjs.org/yeoman-environment
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "3S671X4363G4BC5VFFT3YZG8F"
npm http request GET https://registry.npmjs.org/yeoman-environment
npm verb request uri https://registry.npmjs.org/ws
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "64C8EBAIECE7P89JA4YU4X193"
npm http request GET https://registry.npmjs.org/ws
npm verb request uri https://registry.npmjs.org/absolute-path
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "4288PGEF8OV0N9AJGCGH5OGG6"
npm http request GET https://registry.npmjs.org/absolute-path
npm verb request uri https://registry.npmjs.org/uglify-js
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "9SJNMK22H9C2SSRLW8PRI17M9"
npm http request GET https://registry.npmjs.org/uglify-js
npm verb request uri https://registry.npmjs.org/babel
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "4CZXB9WUGVPKZNM4BPESV6W61"
npm http request GET https://registry.npmjs.org/babel
npm verb request uri https://registry.npmjs.org/yeoman-generator
npm verb request no auth needed
npm info attempt registry request try #1 at 10:33:51
npm verb etag "JW2ZQWBP39TAK13YEI451KAV"
npm http request GET https://registry.npmjs.org/yeoman-generator
npm info git [ 'clone',
npm info git   '--template=/Users/dingchao/.npm/_git-remotes/_templates',
npm info git   '--mirror',
npm info git   'git://github.com/facebook/react.git',
npm info git   '/Users/dingchao/.npm/_git-remotes/git-github-com-facebook-react-git-baa2986b' ]
npm http 304 https://registry.npmjs.org/image-size
npm verb etag https://registry.npmjs.org/image-size from cache
npm verb get saving image-size to /Users/dingchao/.npm/registry.npmjs.org/image-size/.cache.json
npm http 304 https://registry.npmjs.org/immutable
npm verb etag https://registry.npmjs.org/immutable from cache
npm verb get saving immutable to /Users/dingchao/.npm/registry.npmjs.org/immutable/.cache.json
npm verb addNamed "0.3.5" is a plain semver version for image-size
npm verb addNamed "3.7.5" is a plain semver version for immutable
npm verb afterAdd /Users/dingchao/.npm/immutable/3.7.5/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/image-size/0.3.5/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/immutable/3.7.5/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/image-size/0.3.5/package/package.json written
npm http 304 https://registry.npmjs.org/module-deps
npm verb etag https://registry.npmjs.org/module-deps from cache
npm verb get saving module-deps to /Users/dingchao/.npm/registry.npmjs.org/module-deps/.cache.json
npm verb addNamed "3.9.1" is a plain semver version for module-deps
npm http 304 https://registry.npmjs.org/promise
npm verb etag https://registry.npmjs.org/promise from cache
npm verb get saving promise to /Users/dingchao/.npm/registry.npmjs.org/promise/.cache.json
npm http 304 https://registry.npmjs.org/sane
npm verb etag https://registry.npmjs.org/sane from cache
npm verb get saving sane to /Users/dingchao/.npm/registry.npmjs.org/sane/.cache.json
npm http 304 https://registry.npmjs.org/stacktrace-parser
npm verb etag https://registry.npmjs.org/stacktrace-parser from cache
npm verb get saving stacktrace-parser to /Users/dingchao/.npm/registry.npmjs.org/stacktrace-parser/.cache.json
npm http 304 https://registry.npmjs.org/worker-farm
npm verb etag https://registry.npmjs.org/worker-farm from cache
npm verb get saving worker-farm to /Users/dingchao/.npm/registry.npmjs.org/worker-farm/.cache.json
npm http 304 https://registry.npmjs.org/yeoman-environment
npm verb etag https://registry.npmjs.org/yeoman-environment from cache
npm verb get saving yeoman-environment to /Users/dingchao/.npm/registry.npmjs.org/yeoman-environment/.cache.json
npm http 304 https://registry.npmjs.org/source-map
npm verb etag https://registry.npmjs.org/source-map from cache
npm verb get saving source-map to /Users/dingchao/.npm/registry.npmjs.org/source-map/.cache.json
npm http 304 https://registry.npmjs.org/regenerator
npm verb etag https://registry.npmjs.org/regenerator from cache
npm verb get saving regenerator to /Users/dingchao/.npm/registry.npmjs.org/regenerator/.cache.json
npm verb afterAdd /Users/dingchao/.npm/module-deps/3.9.1/package/package.json not in flight; writing
npm verb addNamed "7.0.4" is a plain semver version for promise
npm verb addNamed "0.1.3" is a plain semver version for stacktrace-parser
npm verb addNamed "1.3.1" is a plain semver version for worker-farm
npm verb addNamed "1.3.0" is a plain semver version for sane
npm verb addNamed "1.2.7" is a plain semver version for yeoman-environment
npm http 304 https://registry.npmjs.org/ws
npm verb etag https://registry.npmjs.org/ws from cache
npm verb get saving ws to /Users/dingchao/.npm/registry.npmjs.org/ws/.cache.json
npm http 304 https://registry.npmjs.org/wordwrap
npm verb etag https://registry.npmjs.org/wordwrap from cache
npm verb get saving wordwrap to /Users/dingchao/.npm/registry.npmjs.org/wordwrap/.cache.json
npm verb addNamed "0.4.4" is a plain semver version for source-map
npm verb afterAdd /Users/dingchao/.npm/module-deps/3.9.1/package/package.json written
npm verb addNamed "0.8.41" is a plain semver version for regenerator
npm http 304 https://registry.npmjs.org/absolute-path
npm verb etag https://registry.npmjs.org/absolute-path from cache
npm verb get saving absolute-path to /Users/dingchao/.npm/registry.npmjs.org/absolute-path/.cache.json
npm verb afterAdd /Users/dingchao/.npm/promise/7.0.4/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/stacktrace-parser/0.1.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/worker-farm/1.3.1/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/yeoman-environment/1.2.7/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/sane/1.3.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/source-map/0.4.4/package/package.json not in flight; writing
npm verb addNamed "0.8.0" is a plain semver version for ws
npm verb addNamed "1.0.0" is a plain semver version for wordwrap
npm verb afterAdd /Users/dingchao/.npm/promise/7.0.4/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/regenerator/0.8.41/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/stacktrace-parser/0.1.3/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/worker-farm/1.3.1/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/yeoman-environment/1.2.7/package/package.json written
npm verb addNamed "0.0.0" is a plain semver version for absolute-path
npm verb afterAdd /Users/dingchao/.npm/sane/1.3.0/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/source-map/0.4.4/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/ws/0.8.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/wordwrap/1.0.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/regenerator/0.8.41/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/absolute-path/0.0.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/ws/0.8.0/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/wordwrap/1.0.0/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/absolute-path/0.0.0/package/package.json written
npm http 304 https://registry.npmjs.org/bser
npm verb etag https://registry.npmjs.org/bser from cache
npm verb get saving bser to /Users/dingchao/.npm/registry.npmjs.org/bser/.cache.json
npm verb addNamed "1.0.2" is a plain semver version for bser
npm verb afterAdd /Users/dingchao/.npm/bser/1.0.2/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/bser/1.0.2/package/package.json written
npm http 304 https://registry.npmjs.org/chalk
npm verb etag https://registry.npmjs.org/chalk from cache
npm verb get saving chalk to /Users/dingchao/.npm/registry.npmjs.org/chalk/.cache.json
npm http 304 https://registry.npmjs.org/debug
npm verb etag https://registry.npmjs.org/debug from cache
npm verb get saving debug to /Users/dingchao/.npm/registry.npmjs.org/debug/.cache.json
npm http 304 https://registry.npmjs.org/connect
npm verb etag https://registry.npmjs.org/connect from cache
npm verb get saving connect to /Users/dingchao/.npm/registry.npmjs.org/connect/.cache.json
npm verb addNamed "2.2.0" is a plain semver version for debug
npm verb addNamed "1.1.1" is a plain semver version for chalk
npm verb addNamed "2.30.2" is a plain semver version for connect
npm http 304 https://registry.npmjs.org/react-timer-mixin
npm verb etag https://registry.npmjs.org/react-timer-mixin from cache
npm verb get saving react-timer-mixin to /Users/dingchao/.npm/registry.npmjs.org/react-timer-mixin/.cache.json
npm http 304 https://registry.npmjs.org/rebound
npm verb etag https://registry.npmjs.org/rebound from cache
npm verb get saving rebound to /Users/dingchao/.npm/registry.npmjs.org/rebound/.cache.json
npm http 304 https://registry.npmjs.org/graceful-fs
npm verb etag https://registry.npmjs.org/graceful-fs from cache
npm verb get saving graceful-fs to /Users/dingchao/.npm/registry.npmjs.org/graceful-fs/.cache.json
npm http 304 https://registry.npmjs.org/jstransform
npm verb etag https://registry.npmjs.org/jstransform from cache
npm verb get saving jstransform to /Users/dingchao/.npm/registry.npmjs.org/jstransform/.cache.json
npm http 304 https://registry.npmjs.org/underscore
npm verb etag https://registry.npmjs.org/underscore from cache
npm verb get saving underscore to /Users/dingchao/.npm/registry.npmjs.org/underscore/.cache.json
npm http 304 https://registry.npmjs.org/optimist
npm verb etag https://registry.npmjs.org/optimist from cache
npm verb get saving optimist to /Users/dingchao/.npm/registry.npmjs.org/optimist/.cache.json
npm http 304 https://registry.npmjs.org/progress
npm verb etag https://registry.npmjs.org/progress from cache
npm verb get saving progress to /Users/dingchao/.npm/registry.npmjs.org/progress/.cache.json
npm http 304 https://registry.npmjs.org/semver
npm verb etag https://registry.npmjs.org/semver from cache
npm verb get saving semver to /Users/dingchao/.npm/registry.npmjs.org/semver/.cache.json
npm http 304 https://registry.npmjs.org/joi
npm verb etag https://registry.npmjs.org/joi from cache
npm verb get saving joi to /Users/dingchao/.npm/registry.npmjs.org/joi/.cache.json
npm verb afterAdd /Users/dingchao/.npm/debug/2.2.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/connect/2.30.2/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/chalk/1.1.1/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/debug/2.2.0/package/package.json written
npm verb addNamed "0.13.3" is a plain semver version for react-timer-mixin
npm verb addNamed "11.0.3" is a plain semver version for jstransform
npm verb addNamed "4.1.2" is a plain semver version for graceful-fs
npm verb addNamed "0.0.13" is a plain semver version for rebound
npm verb addNamed "1.8.3" is a plain semver version for underscore
npm verb addNamed "1.1.8" is a plain semver version for progress
npm verb addNamed "0.6.1" is a plain semver version for optimist
npm verb addNamed "5.0.3" is a plain semver version for semver
npm verb afterAdd /Users/dingchao/.npm/chalk/1.1.1/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/connect/2.30.2/package/package.json written
npm verb addNamed "6.9.0" is a plain semver version for joi
npm verb afterAdd /Users/dingchao/.npm/react-timer-mixin/0.13.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/graceful-fs/4.1.2/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/rebound/0.0.13/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/underscore/1.8.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/progress/1.1.8/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/optimist/0.6.1/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/jstransform/11.0.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/semver/5.0.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/joi/6.9.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/graceful-fs/4.1.2/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/react-timer-mixin/0.13.3/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/underscore/1.8.3/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/progress/1.1.8/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/rebound/0.0.13/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/optimist/0.6.1/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/jstransform/11.0.3/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/semver/5.0.3/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/joi/6.9.0/package/package.json written
npm http 304 https://registry.npmjs.org/babel
npm verb etag https://registry.npmjs.org/babel from cache
npm verb get saving babel to /Users/dingchao/.npm/registry.npmjs.org/babel/.cache.json
npm verb addNamed "5.8.23" is a plain semver version for babel
npm verb afterAdd /Users/dingchao/.npm/babel/5.8.23/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/babel/5.8.23/package/package.json written
npm http 304 https://registry.npmjs.org/babel-core
npm verb etag https://registry.npmjs.org/babel-core from cache
npm verb get saving babel-core to /Users/dingchao/.npm/registry.npmjs.org/babel-core/.cache.json
npm verb addNamed "5.8.25" is a plain semver version for babel-core
npm verb afterAdd /Users/dingchao/.npm/babel-core/5.8.25/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/babel-core/5.8.25/package/package.json written
npm http 304 https://registry.npmjs.org/yeoman-generator
npm verb etag https://registry.npmjs.org/yeoman-generator from cache
npm verb get saving yeoman-generator to /Users/dingchao/.npm/registry.npmjs.org/yeoman-generator/.cache.json
npm http 304 https://registry.npmjs.org/tinycolor2
npm verb etag https://registry.npmjs.org/tinycolor2 from cache
npm verb get saving tinycolor2 to /Users/dingchao/.npm/registry.npmjs.org/tinycolor2/.cache.json
npm verb addNamed "1.1.2" is a plain semver version for tinycolor2
npm verb addNamed "0.20.3" is a plain semver version for yeoman-generator
npm verb afterAdd /Users/dingchao/.npm/tinycolor2/1.1.2/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/yeoman-generator/0.20.3/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/tinycolor2/1.1.2/package/package.json written
npm verb afterAdd /Users/dingchao/.npm/yeoman-generator/0.20.3/package/package.json written
npm http 304 https://registry.npmjs.org/fbjs-scripts
npm verb etag https://registry.npmjs.org/fbjs-scripts from cache
npm verb get saving fbjs-scripts to /Users/dingchao/.npm/registry.npmjs.org/fbjs-scripts/.cache.json
npm verb addNamed "0.2.2" is a plain semver version for fbjs-scripts
npm verb afterAdd /Users/dingchao/.npm/fbjs-scripts/0.2.2/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/fbjs-scripts/0.2.2/package/package.json written
npm http 304 https://registry.npmjs.org/uglify-js
npm verb etag https://registry.npmjs.org/uglify-js from cache
npm verb get saving uglify-js to /Users/dingchao/.npm/registry.npmjs.org/uglify-js/.cache.json
npm verb addNamed "2.5.0" is a plain semver version for uglify-js
npm verb afterAdd /Users/dingchao/.npm/uglify-js/2.5.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/uglify-js/2.5.0/package/package.json written
npm http 304 https://registry.npmjs.org/yargs
npm verb etag https://registry.npmjs.org/yargs from cache
npm verb get saving yargs to /Users/dingchao/.npm/registry.npmjs.org/yargs/.cache.json
npm verb addNamed "3.27.0" is a plain semver version for yargs
npm verb afterAdd /Users/dingchao/.npm/yargs/3.27.0/package/package.json not in flight; writing
npm verb afterAdd /Users/dingchao/.npm/yargs/3.27.0/package/package.json written
-

@will-zhang
Copy link

@qtdc1229 I have the same problem >_<

@fallingfree
Copy link

+1

@passol1988
Copy link

+1
encountered this,is this of network problem?
almost everyone live in China??

@bellu
Copy link

bellu commented Oct 19, 2015

Same problem here. But running the command in the verbose mode (thanks @gumpyoung) solved the problem.

@huozhi
Copy link

huozhi commented Oct 21, 2015

Same issue, I found the solution for people who live in China.
If you are behind the GFW, you could set your npm registry.
Alibaba's npm mirrors works fine.

My laptop:
OSX EI Capitan
npm v2.14.4
node v4.1.1

I set the registry in my ~/.npmrc

registry=https://registry.npm.taobao.org

then execute react-native init SomeProject,
download very fast and then all down.


After finish you will see this

...
   create android/gradlew
   create android/gradlew.bat
   create android/app/src/main/java/com/project/MainActivity.java
To run your app on iOS:
   Open /Users/huozhi/Code/react/project/ios/project.xcodeproj in Xcode
   Hit Run button
To run your app on Android:
   Have an Android emulator running, or a device connected
   cd /Users/huozhi/Code/react/project
   react-native run-android

Hope it works for you, enjoy your development

@vrspider
Copy link

I am not in China, but I also got stuck here when running

react-native init AwesomeProject --verbose
npm verb afterAdd /Users/yuankunma/.npm/react-timer-mixin/0.13.3/package/package.json written
loadDep:yeoman-generator ▌ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟

@huyxgit
Copy link

huyxgit commented Jul 16, 2016

Today i use command "react-native init MyProject" and it show "Installing react-native package from npm..."....... and this message never finished until i decided to close the command window -_- Any help?? Thanks very much!

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests