question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: Unable to rebase the local cache repo.

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ericpylecommented, Mar 6, 2019

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
1reaction
barbalexcommented, Jan 20, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Errors with interactive rebase. Unable to move the cache
Try first to make the git rebase -i from a simple CMD session, not from an editor (like VSCode) to see if the...
Read more >
Fix conflicts only once with git rerere | by Christophe Porteneuve
Can't I share this with other contributors? Just like hooks, the rerere database (the .git/rr-cache directory) stays in your local repo: it's ...
Read more >
Introduction to Git rebase and force-push - GitLab Docs
To check what remotes you have linked to your local repository, ... If the branch you want to force-push is protected, you can't...
Read more >
Rebase fails sometimes because of index.lock - Jira - Atlassian
It looks like this error occurs when SourceTree attempts to start a commit, specifically when attempting to write the lock file, before the...
Read more >
Pull changes to your local Git repo - Azure - Microsoft Learn
Learn how to use Git fetch, merge, rebase, and pull to get code from others by ... The remote-tracking branches in local repo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found