Summary
When I try to initialize and run flow, it quits with Out of retries, exiting!
Trace
$ flow init
$ cat .flowconfig
[ignore]
[include]
[libs]
[options]
$ flow
Flow server launched for /Users/apennebaker
Spawned flow server (child pid=67099)
Logs will go to /var/folders/_9/shv02r4n1nx9ksvx6w_nd4pw0000gp/T/flow_apennebaker/apennebaker-zSUserszSapennebaker.log
The flow server will be ready in a moment.
Error: flow server is busyzing. If it was just started this can take some time. Retrying... |
Error: flow server is busyzing. If it was just started this can take some time. Retrying... -
Error: flow server is busyzing. If it was just started this can take some time. Retrying... |
Out of retries, exiting!lizing. If it was just started this can take some time. Retrying... -
System
$ specs flow os
Specs:
specs 0.14
https://github.com/mcandre/specs#readme
flow --version
Flow, a static type checker for JavaScript, version 0.7.0
system_profiler SPSoftwareDataType | grep 'System Version'
System Version: OS X 10.10.2 (14C1514)
Yeah this has been happening to me too and is pretty annoying. Here's what's happening:
flow
(aka flow status
)flow
starts a flow client.I think this should be fixable by just making the flow client a little bit more patient
Yeah, it just needs to be patient. Maybe:
?
Any solution so? It's really annoying when you're debugging react-native applications. Every refresh ~ 5-7 secs because of this.
I'm also running into this problem when working on react-native applications, any input on this would be helpful
@clauderic I think I solved the problem for myself:
flow
node_modules
etc)After that it started working for me
Ignoring node_modules
does not seem to work because it creates many errors like:
Failure("internal error: package /home/user/node_modules/lodash/package.json not found")
I think the solution is to either run flow check
or use the --timeout
command line option.
@gabelevi IIUC, the [facepalm] commit fixes this? If so, please tag as willfix next release and I'll close this out once that commit is released.
also running into this problem and since this doesn't exit with status 0, it makes harder to rely on this within a Bash script. Would be great to see this fixed with the upcoming version ;)
I guess I have something similar. I just cloned yesterday and built today.
$ flow --version
Flow, a static type checker for JavaScript, version 0.7.0
$ bin/flow
Flow server launched for /home/xyzpdq/Dev/flow
Spawned flow server (child pid=6458)
Logs will go to /tmp/flow/zShomezSxyzpdqzSDevzSflow.log
The Flow server will be ready in a moment.
Flow server launched for /home/xyzpdq/Dev/flow
Spawned flow server (child pid=6475)
Logs will go to /tmp/flow/zShomezSxyzpdqzSDevzSflow.log
The Flow server will be ready in a moment.
Flow server launched for /home/xyzpdq/Dev/flow
Spawned flow server (child pid=6492)
Logs will go to /tmp/flow/zShomezSxyzpdqzSDevzSflow.log
The Flow server will be ready in a moment.
Flow server launched for /home/xyzpdq/Dev/flow
Spawned flow server (child pid=6509)
Logs will go to /tmp/flow/zShomezSxyzpdqzSDevzSflow.log
Out of retries, exiting!
Pretty sure this is fixed now.
Issue isn't gone. I have a project, and from start of it's developing 1 of 3 flow runs is failing with error
Out of retries, exiting!
On second run it always success. Version 0.54.0. Tried it on create-react-app and custom boilerplate. Windows 10 Pro
Still happening with 0.66
@FezVrasta It happens when another instance with different version of flow is run. Just run killall flow && flow
It doesn't help, as soon I run flow
again it will return the same error. I can run flow
just once before I start getting errors.
Is there any verbose mode I can use to catch the real error?
@FezVrasta It may doesn't help when your ide tries to run flow before you.
So what could the solution be like?
Happening to me too. 0.65.0 and 0.66.0
Still happens on 0.67.1
Having the same issue with "flow-bin": "0.68.0"
.
@caiogondim If you have mac os and yarn run killall flow && yarn flow
.
Just tried. Same issue 馃槩
I'm on macOS.
The problem seem to happen when you have a global flow-bin and a local one, your editor is most likely going to run the global one and your shell is going to call the local one, and this makes Flow go mad.
The solution is to never have flow-bin installed globally.
It conflicts with the vscode's kit (Flow Language Support).
I stop the kit and resolved.
@FezVrasta I can confirm that deleting flow-bin globally resolved this specific issue for me
I not having flow-bin installed globally and I get this error ever that I open Atom and try edit some file... I not installed nothing related (directly) with Flow in Atom, just added eslint-plugin-flowtype-errors
locally in my project... I'm trying using Flow with Vue Single File Components, someone already make it?
I麓m trying follow this tutorial https://alligator.io/vuejs/components-flow/
rm -rf node_modules works for me
Most helpful comment
@FezVrasta It happens when another instance with different version of flow is run. Just run
killall flow && flow