ERROR: Unable to rebase the local cache repo.
While using yarn in terminal I get the following error:
ERROR: Unable to rebase the local cache repo. Error rebasing the `master` branch of the following repo:
/Users/johnsmith/.flow-typed/repo
undefined
NOTE: Unable to rebase local cache! If you don't currently have internet connectivity, no worries -- we'll update the local cache the next time you do.
let me know if this is something pretty straightforward or not.
See #2950
Closing due to inactivity, sounds like this solved the problem. Comment again if that's not the case.
I get this 100% of the time in all projects I use flow in. Using flow-bin v0.91.0.
In case others need more explicit directions, the tip for fixing this was given at the end of the problem description in #2950
As a result of this you are stuck with the same libdefs until you manually remove the repository from disk and install from scratch.
So at the DOS cmd.exe prompt:
> rmdir /s /q %USERPROFILE%\.flow-typed\repo
> git clone git://github.com/flowtype/flow-typed.git %USERPROFILE%\.flow-typed\repo
I get this issue for a long time via osx now
Re-opening, can someone provides more insight and details about the issue, env, setup, command used, etc.
I get this issue for a long time via osx now
@bradennapier had this issue today as well. Try running git in the commandline.
I got the follwing message:
Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.
After running sudo xcodebuild -license and accepting everything worked.
Hope this helps.