Closed jarnanchen closed 9 years ago
@sundaravelit thank you... react-native init ProjectName --verbose
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 node v5.9.0 npm 3.7.3
I run react-native init AwesomeProject --verbose then it got stuck here
npm verb afterAdd /Users/x/.npm/babel-plugin-transform-es2015-template-literals/6.6.5/package/package.json written loadDep:babel-plugin-tran ▐ ╢██████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
When I run the init
command, it will hangs after the output below when without sudo
.
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 sudo
,it will be successed,don't konw why.
The next output is:
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.
cd $HOME
wget https://cdn.npm.taobao.org/react-native/-/react-native-0.32.0.tgz #example
react-native init AwesomeProject --version ~/react-native-0.32.0.tgz
cd $HOME
wget https://registry.npmjs.org/react-native/-/react-native-0.32.0.tgz #example
react-native init AwesomeProject --version ~/react-native-0.32.0.tgz
Still having the issue today. NYC Windows 10 node.js v4.4.5 npm 3.5.2
Still have this issue, It hangs in
react-native@0.33.0` requires a peer of react@~15.3.1 but none was installed.
npm verb exit [ 0, true ]
npm info ok
And It stay like that forever.
npm 3.10.7
node 6.2.1
Any ideas please?`
@jefe-spain i have the same issue have you resolved it yet?.. here's the issue link #9943
Hanging after npm info ok
seems to be caused by watchman
. Just chiming in here to report the workaround documented in #9943 works.
I had react-native
hang for a different reason => watchman . On my Mac, I had to:
rm -rf /usr/local/run/watchman/*
to clear whatever watchman had leftover, that was making it hang w/o any output. And along with it, it got react-native
to hang:
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 upreact-native init
tremendously. I've had it download successfully in as little as 10 seconds and at most 2 minutes.
Here's a little guide on how to use react-native with yarn. http://kryptonik.net/2016/10/how-to-use-react-native-with-yarn/
First you should download and install latest node.js installer from here then open cmd on Administrator and run:
npm install -g react-native-cli
Good lock :)
I was having issue with the command react-native run-ios
Got it running by just using the sudo
with the command.
:) 👍
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.