I encountered issues while attempting to upgrade using react-native-git-upgrade. One of the first problems I faced was similar to what was described in https://github.com/facebook/react-native/issues/11578.
Unfortunately, none of the solutions mentioned in that thread worked for me.
So, I decided to clear the yarn cache by running yarn cache clean
However, when I tried running react-native-git-upgrade
again, I received the following error:
E:\ReactProject\Aurai>react-native-git-upgrade
git-upgrade info Check for updates
git-upgrade info Using yarn 0.24.5
git-upgrade info Read package.json files
...
git-upgrade ERR! Restore initial sources
Note: checking out 'project-snapshot'.
You are in 'detached HEAD' state. You can look around, make experimental
...
HEAD is now at adaaa8d... Project snapshot
What steps should I take to resolve this issue?
Current React Native version: 0.44.0
Git version: 2.13.1.windows.2
Yarn version: 0.24.5