flow-typed icon indicating copy to clipboard operation
flow-typed copied to clipboard

ERROR: Unable to rebase the local cache repo.

Open julesmoretti opened this issue 7 years ago • 7 comments

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.

julesmoretti avatar Nov 08 '18 21:11 julesmoretti

See #2950

pascalduez avatar Nov 09 '18 00:11 pascalduez

Closing due to inactivity, sounds like this solved the problem. Comment again if that's not the case.

AndrewSouthpaw avatar Nov 21 '18 16:11 AndrewSouthpaw

I get this 100% of the time in all projects I use flow in. Using flow-bin v0.91.0.

barbalex avatar Jan 20 '19 10:01 barbalex

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

ericpyle avatar Mar 06 '19 16:03 ericpyle

I get this issue for a long time via osx now

bradennapier avatar Nov 07 '19 03:11 bradennapier

Re-opening, can someone provides more insight and details about the issue, env, setup, command used, etc.

pascalduez avatar Nov 08 '19 09:11 pascalduez

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.

mptrs avatar Nov 16 '19 16:11 mptrs