linter-flow
linter-flow copied to clipboard
Atom taking lot of CPU when flow bin version is not the same as flowconfig version
Eg: flow version is 0.28 .flowconfig [version] is 0.27
AtomHelper takes 100% of CPU.
When running flow in CLI
Launching Flow server for /.../project
Wrong version of Flow. The config specifies version 0.27.0 but this is version 0.28.0
Could not start Flow server!
I guess this plugin does not handle this case correctly and try again and again?
This sounds like an error I caused. I'll fix it soon. As of now the fix is to go to the terminal and manually start the flow server for the current version.
@nmn Anything on this?
Sorry I've been on vacation. I'll fix this today.
Great. I hope you've had a great vacation time. Waiting for the fix ⏩
Anything I can do to help fix this?
I will be glad if you can do anything to solve this 👍
As of now the fix is to go to the terminal and manually start the flow server for the current version.
As of today this is still the best solution to side step this issue.
Not sure this has anything to do with [version] since I haven't even set [version] in my flowconfig.
Guys I solved it.
So, I deleted my absolute path to flow.js. Then I inserted this path ./node_modules/.bin/flow
And it does not consume memory and it works !!!
I feel it was a somehow conflict between my absolute flow.exe
and the node version from bin
folder
hello! Any updates on this?
Sorry, been busy. But I am working on this, Promise!
Waiting :D
I'm working with the Flow team to figure some things out.