Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The flow server is not responding : / Out of retries #6025

Closed
chiaweilee opened this issue Mar 23, 2018 · 2 comments
Closed

The flow server is not responding : / Out of retries #6025

chiaweilee opened this issue Mar 23, 2018 · 2 comments

Comments

@chiaweilee
Copy link

chiaweilee commented Mar 23, 2018

  • Webstorm
  • Vue 2.5.13
  • Babel 6.26.0
  • Webpack 2.7.0
  • babelrc
    "plugins": ["transform-runtime", "transform-vue-jsx", "transform-flow-comments"], "env": { "test": { "presets": ["es2015", "env", "stage-2", "flow", "@babel/preset-flow"], "plugins": ["istanbul", "lodash", "lodash-fp"] } }
  • Webpack dev / prod
    plugins: [ new FlowBabelWebpackPlugin()]
  • flow-babel-webpack-plugin 1.1.1

Sometimes, this happend...
and It will not resolved even restart the npm dev or IDE..

ERROR Failed to compile with 1 errors
Flow: Out of Retries

The flow server is not responding (3 retries remaining): -The flow server is not responding (2 retries remaining): \The flow server is not responding (1 retry remaining): |The flow server is not responding (0 retries remaining): /
Out of retries, exiting!

I used flow to check one file only these moment, and it's..

// @flow
export default (store:Object) => {
  // watch lang
  store.watch(
    state => state.system.lang,
    (lang:string) => {
      window._V_.$i18n.locale = lang
      window._V_.moment.locale(lang)
    }, {
      deep: true
    }
  )
}

and I run flow check, 0 error(s) found.

@chiaweilee chiaweilee changed the title ERROR Failed to compile with 1 errors 17:40:23 error Flow: Out of Retries The flow server is not responding (3 retries remaining): -The flow server is not responding (2 retries remaining): \The flow server is not responding (1 retry remaining): |The flow server is not responding (0 retries remaining): / Out of retries, exiting! The flow server is not responding : / Out of retries Mar 23, 2018
@pronebird
Copy link

Same issue with 0.83.0. Just goes in loops.

@cmmash
Copy link

cmmash commented Feb 27, 2019

Facing the same with version 0.74.0

Why is this closed? What's the resolution?
I simply get this:

 (1386)-> yarn flow
yarn run v1.13.0
$ /home/ash/projects/myproj/web-app/node_modules/.bin/flow
The flow server is not responding (0 retries remaining): /
Out of retries, exiting!
error Command failed with exit code 7.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Also, npx flow check gives Found 0 errors

Edit: Found the solution. Thought maybe a flow server was already running, and it was. So just had to stop it: flow stop from the project root dir for which it was initially started. Then yarn flow works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants