Flow service doesn't start
I followed the instructions here: https://blog.jetbrains.com/webstorm/2016/11/using-flow-in-webstorm/
And what I'm seeing is "Starting Flow Service" with a spinner that never stops. Eventually it fails with a timeout.
In the command line I run `npm run flow` and it works as expected.
This is the path to flow bin that I'm using: "my/project/node_modules/flow-bin/vendor/flow"
Using WebStore 2017.3 and IDEA 2017.3
Please sign in to leave a comment.
What version of flow-bin do you use? do you have any other Flow services running (in terminal/other IDE)? Try choosing flow package rather than the executable (my/project/node_modules/flow-bin) - does it work?
Same problem here.
Same problem here.
i encountered with same problem. is there any progress ?
I found the problem: https://youtrack.jetbrains.com/issue/WEB-30020
Flow 0.60 broke IDE support. Just a few hours ago Flow 0.61 was released with an apparent fix. I'm going to try that soon.
In the meanwhile installing flow-bin@0.59 works.
I've tried flow-bin@0.61. Still having this problem.
Please try the most recent EAP (https://confluence.jetbrains.com/display/WI/WebStorm+EAP)
flow-bin@0.66 still not starting flow services as described in topic
What error can you see? May be https://github.com/facebook/flow/issues/5583 issue
There is no error shown, at least it doesn't pop anywhere. My problem is when I update the version from 0.59.0 to 0.66.0 and try to `Restart all Flow servers`. It won't start and show `No servers started` on the flow tab. There was another message trying to `show all messages` but I don't recall it since i'm using 0.59.0 now, i don't want to change it to see it either
is anything shown in Console tab of Flow tool window?
Ran into the same issue; Here's how I unblocked myself when working with react and react-native:
1) update the .flowconfig to use the most recent version of flow:
2) start the flow server from the terminal itself:
Back in WebStorm, under the Flow tab, I was able to hit the 'Show all errors' button and got flow showing me errors that it detected.
Good luck!
I tried what Yeo Ivan say with no luck. When i run `flow start` console says: `Wrong version of Flow. The config specifies version 0.66.0 but this is version 0.59.0`
I did update the .flowconfig and the Flow console says "Services is not started". I also checked the `node_modules` folders and 0.66.0 was there, no 0.59.0
Still getting this in WebStorm 2019.3.3 and 2020.1 EAP, on Windows 10.
Flow version is 0.119.1. "Restart all Flow servers" doesn't help.
Edit: I was able to fix this by going into Windows Task Manager and killing all flow.exe processes. After restarting WebStorm, it now shows Flow errors as expected.
works fine for me
Please enable logging in .flowconfig:
and provide the generated flowlog.txt
Thanks! Here are flowlog.txt and monitor logs both before the Flow server stopped working, and after I restarted it again:
https://gist.github.com/emlai/cde01868f6e501bdb47f40e3f2bce52d
Also sometimes WebStorm (2019.3.3) freezes until flow.exe is killed.
Thanks:)
please see comments in https://github.com/facebook/flow/issues/6424 for some hints