flow-typed: rebasing flow-typed cache hangs

Recently running flow-typed install --overwrite has started hanging for 10 - 15 minutes on rebasing flow-typed cache...

It eventually completes but i’m not sure what might have changed that would cause the slowdown. Is there recommended way to debug this?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 19
  • Comments: 34 (9 by maintainers)

Commits related to this issue

Most upvoted comments

FWIW this affects https://github.com/chentsulin/electron-react-boilerplate badly when using Node 8

v8.4.0 appears to fix this issue. Wow. Glad I finally got fed up and searched 😛 not sure when I would have updated otherwise. Went from about 30 minutes to 10 seconds.

Still reproducible on node 8.1.0 and npm 5.0.3

I did some very basic debugging and it seems to me, as if there is some memory leak that causes flow-typed to fail on node 8.1.0. Would be great, if one of the core contributors could have a look at this as it prevents to move to node 8.

Can confirm. 8.3.0 fixes it for me.

The timing!

8.3.0 fixes it, but it is still slow. (took me 730s, when usually it took few dozens of seconds)

the problem is gone for me on node@8.3.0

I’m sorry to be “that guy”, but any update on this?