"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"]
}
}plugins: [
new FlowBabelWebpackPlugin()]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 RetriesThe 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.
Same issue with 0.83.0. Just goes in loops.
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.
Most helpful comment
Facing the same with version
0.74.0Why is this closed? What's the resolution?
I simply get this:
Also,
npx flow checkgivesFound 0 errorsEdit: Found the solution. Thought maybe a flow server was already running, and it was. So just had to stop it:
flow stopfrom the project root dir for which it was initially started. Thenyarn flowworks fine.