Closed ZhangYiJiang closed 6 years ago
I have similar problems.
$ flow status && babel src/ -d dist
flow is rechecking [processing] /
The flow process does not want to stop.
Same for mac os x
Same issue on node v8.7.0
Same issue on Ubuntu 14.04 x64 IDE Webstorm 2017.3 or Atom
0.57.3
should fix this issue. Just waiting on the npm publish.
So this is why my laptop fan was so noisy the past couple of days and why the editor's linter stopped showing messages. 0.57.3
is still not on Homebrew, waiting for the release to verify.
Now 0.57.3
doesn't starts error. Log from Webstorm on MacOS.
[2017-10-17 09:35:07] Logs will go to /private/tmp/flow/zSUserszSmaksimdzZikunzSworkspacezSisCommerce-mobilezSmobilezSapp.log
[2017-10-17 09:35:07] Initializing Server (This might take some time)
[2017-10-17 09:35:07] executable=...
[2017-10-17 09:35:07] version=0.57.3
[2017-10-17 09:35:07] Parsing
[2017-10-17 09:35:35] Building package heap
[2017-10-17 09:35:35] Loading libraries
[2017-10-17 09:35:39] Resolving dependencies
[2017-10-17 09:35:41] to_merge: Focused: 773, Dependents: 0, Dependencies: 0
[2017-10-17 09:35:41] Calculating dependencies
[2017-10-17 09:35:41] Merging
[2017-10-17 09:37:00] Done
[2017-10-17 09:37:00] Checked set: Focused: 773, Dependents: 0, Dependencies: 0
[2017-10-17 09:37:00] Server is READY
[2017-10-17 09:37:00] Took 112.701158 seconds to initialize.
[2017-10-17 09:37:00] Status: Error
[2017-10-17 09:37:19] Status: Error
[2017-10-17 09:37:32] Status: Error
[2017-10-17 09:38:25] Status: Error
I believe Flow 57.3 has fixed this - I've upgraded and so far I've not managed to reproduce the problem, so I'm closing this.
@dikmax That log looks fine - Status: Error
indicates that Flow has found errors, not that the Flow process itself encountered an error and cannot start.
I'm not sure what is happening, because the logs stop at 'Merging'. I can't reliably reproduce this - it doesn't happen every time I save a file, but it happens quite frequently. It's hard to tell which file triggered this because it's not immediately obvious in the IDE that the Flow service has hung. This is what the logs look like:
It's now more than 10 minutes later. The flow process is still running using up one CPU core.
Restarting it fixes this temporarily, but after a while it'll hang again. This was not a problem with the previous version of Flow we were using, v0.54.0.
OS: Ubuntu 17.04 Linux 4.10.0-35-generic #39-Ubuntu SMP x86_64 IDE: Webstorm 2017.2.4