-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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-git-upgrade fatal: working tree '.' already exists. #11578
Comments
+1 |
I can confirm this issue too while trying to upgrade to RN 0.40.0.
|
+1 |
It has to do with the Git dependencies indeed. That should be fixed. In the meantime, just remove them temporary from your |
I solved it. For me running yarn instead of npm worked. The steps:
|
Same here. I just did yarn then react-native-git-upgrade and it worked. |
I tried cloning a copy of my old repo (0.42.0), running yarn, and then running react-native-git-upgrade 0.43.0 and still getting
|
i just had to run yarn before git-upgrade and everything is fine :) |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
Upgrading to 0.47.2 displays the above notice. I've tried clearing the yarn cache without any luck. |
I was having the same issue, followed these steps and issue is resolved now: run command |
I had to both use |
Tried using yarn then react-native-git-upgrade without avail (also cleared the cache). I get:
|
Description
Trying to upgrade using cli
react-native-git-upgrade 0.39.2
Reproduction
I suspect it has to do with github dependency for
react-native-layout-tester
?Solution
upgrade should work flawlessly
Additional Information
The text was updated successfully, but these errors were encountered: