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
react-native init hangs without any error output #2806
Comments
#2797 |
The same problem, so I update my npm to version 3, the same problem
in package.json react-tools point to react(don't know why)
and I don't know what is |
UPDATE : After wait for a long time , the init was successful |
Finally, I got the problem, it will takes you more than one day (connection is slow or you are in China) to clone the whole react repository. |
Are you in China? Can you point npm (and Gradle if you're doing Android development) to some mirror of: |
Can you please use Stack Overflow to ask questions and tag them with This helps us keep track of bugs that need to be fixed in Github issues. |
@mkonicek Yes , I am in China. However I did tried several times via VPN connection, not much help though. |
hmm, is it true that is clones the whole repo? I am in Germany and have a 25MBit connection. So it should not be slow. Would be great to have a notice or something that it can take longer otherwise people (like me) think that it is broken. |
still spinning... about 35min now. Going to make another coffee... |
@deepflame you can try npm3, it will gives you more information |
Hey @kebot , thanks for your hint. I installed NPM 3 now and it went through! |
well, but I would not advice to install NPM 3 though. Got stuck now with
Seems to be an issue with NPM 3... #1758 |
@deepflame just feel free to remove the detection code in |
@kebot thanks for your hints. However I installed NPM 2 again and it is working now fine. Just tried again. For whatever reason it is working now with NPM 2. Guess it is the npm cache? |
about 8 day ago, i init a project about 10 min , but since yesterday i init a project more than 12 hours |
@yinzSE can you post the output here? |
@kebot i succeeded after a long time, and before that there is nothing output.
VPN use USA u can open Monitor to watch “git" process. if it downloading means u just only wait for some time.
|
I found that this dependency must installed under root permission, |
I have the same problem. |
+1 (OSX - El Capitan) |
Same problem. |
From China +1 |
in HK. so slow... not working for several times |
Same issue. |
open
|
@yinzSE Thanks, that's very helpful. |
@yinzSE I was patient, but after 20 or 30 minutes, I got this error:
|
same problem from India also Waiting Waiting Waiting for a long time |
Execute |
+1 for this problem and the stop point doesn't remain stable.
|
Same problem here, I'm in the Netherlands. Internet connection is fine. I use npm all the time for multiple projects, so it's really weird it keeps getting stuck for react-native. What is react-native doing that's different? |
U updated brew, reinstalled node and npm and run react-native init with --verbose. It showed me the process and after 20 min finally installed the project. Was weird though at the beginning.... |
@yinzSE It works, thx. I just do this: haha... |
I also use VPN, but nothing changed, I just fail and try agian on the old folder(choose yes when terminal ask continue), and it successd! |
if you from China, do this:
Registry has beensetto: http://registry.npm.taobao.org/
very very very ... very fast |
no I am using VPN, I am not going to use chinese shit servers for nothing |
@sundaravelit thank you... |
In india it's working perfectly but it's take much time approx 3 to 4 minuts but depends upon your internet speed. I think it dowload so many module whole size of 70 MB |
Still having this issue. |
can you send me output what you get after running through command ... react-native init ProjectName --verbose |
Did somebody find the solution? I'm stuck with this :( http://stackoverflow.com/questions/35961873/react-native-init-awesomeproject-hang |
After a few hours I decided to restart the computer and start the process again, and now it is working ;-( this is annoying |
Here in the Netherlands I run react-native init AwesomeProject --verbose npm verb afterAdd /Users/x/.npm/babel-plugin-transform-es2015-template-literals/6.6.5/package/package.json written |
When I run the npm WARN react-native@0.27.0-rc2 requires a peer of react@15.1.0 but none was installed.
npm verb exit [ 0, true ]
npm info ok But when I run with Setting up new React Native app in /Users/ZxBing0066/Workspace/personal/App |
i have same problem from china,then i useing VPN(Japan),and it successed! |
Had this today (UK). Running with --verbose and it's still taking ages but at least I know it's doing something this time. |
China:
Other country:
|
Still having the issue today. NYC |
Still have this issue, It hangs in
And It stay like that forever.
Any ideas please?` |
@jefe-spain i have the same issue have you resolved it yet?.. here's the issue link #9943 |
Hanging after |
I had
to clear whatever watchman had leftover, that was making it hang w/o any output. And along with it, it got
Maybe this helps anyone. It took me almost one hour to debug this ... probably related: #2797 |
Seeing as some people are still having trouble, I found that using Yarn sped up Here's a little guide on how to use react-native with yarn. |
First you should download and install latest node.js installer from here
|
I was having issue with the command Got it running by just using the |
After I do
react-native init AwesomeProject
,it just hangs atThis will walk you through creating a new React Native project in /Users/jarnanchen/repo/AwesomeProject
, with the slash spinning around for more than 20 minutes.Tried several times and the results are the same.
The text was updated successfully, but these errors were encountered: