-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Stuck on "Installing React Native Colo Loco" when generating a new app using both npx and yarn #1845
Comments
Since keep Installing React Native Colo Loco for hours I stop the process by Ctrl + C Installed react-native-colo-loco manually in to project by running Then I could run my application successfully. |
@subodha Can you provide |
Oops, never mind, you did provide that. |
So I'm able to spin up an app successfully. Hm. My ignite doctor:
|
It's weird that yours stalls like that. I'm not entirely sure why. |
It happens when the react-native-colo-loco install ignites itself. But when I installed the react-native-colo-loco manually it works. May be it can a permission issue |
Yeah, very strange! It would be nice to get more insight into what it's doing here. |
@subodha Pinging you because just want to make sure if that still happens to you. I've tried a couple things but sorry, I haven't been able to recreate it. I've tried different versions [yarn || npm, node, Cocoapods] to make sure it's not the package issue, but no dice. I've tried on 3 different machines, and asked my coworkers to try, but none of them reported the same issue as you're facing unfortunately. There were another person having the similar issue and reported on our community Slack, but we couldn't figure out from the given info. In fact, we've switched from It could be some sort of system permission issue too, but we're lack of info to track down for now. Let us know if you find anything interesting in your system so we could take another shot. Thanks. |
Hi @leonskim Thank you for attending to this issue. I will investigate further and update you If I find something. However I love ignite since it is really cool to use. I recomand any one to use this if they are starting react native app. Thanks again for jumping in to this. |
In my case, something breaks on RN Colo Loco.
If I ignore it and go to the app directory - iOS builds just fine. Tha android fails to be built. To ignite the app I did use the |
Same thing is happening to me. Was working a few days ago. Installed ignite cli again and this started happening |
I've stubled on this bug today too. Looking at the process list I could figure out that the following process was hanging: node /path/to/SomeApp/node_modules/.bin/install-colo-loco --defaults Running it in the shell gave some insights: Your git working tree is dirty.
Are you sure you want to continue? [y/N] Sure enough, I was running the ignite CLI in an existing git folder (I wanted to add it as another sub-project of a mono-repo). Running it in a pristine folder did not result in any problems. Is there any chance you guys had a similar setup, where you wanted to generate a new project in an existing git repo? The question now is: is ignite supposed to run in a pristine folder? I see a dedicated initial commit is created, so there are at least some assumptions made on the git environment where you run the command. Or can this be fixed by getting around this prompt when installing colo-loco (there is a CLI flag to ignore the dirty repo check)? |
Good catch @linusdm A "side note" => This also happens for https://github.com/nirre7/ignite-diff-purge since it creates an ignite app in an existing git repo.. The mono repo setup is probably a fairly common normal scenario though. |
…s in a git repo it seems. infinitered/ignite#1845
…s in a git repo it seems. infinitered/ignite#1845
…s in a git repo it seems. infinitered/ignite#1845
Thanks @linusdm! I've changed the directory to one without git and installation works now |
FYI we will be removing RN Colo Loco by default from new projects with #1890. |
🎉 This issue has been resolved in version 7.10.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What's going on?
When I tried to create a new mobile app using ignite it keeps Installing React Native Colo Loco. Nothing proceed further.
I tried using both NPX and YARN but the same issue occur.
Any idea ?
Steps to reproduce
npx ignite-cli new MyApp
oryarn ignite-cli new MyApp --debug
Result
The text was updated successfully, but these errors were encountered: