linter-flow icon indicating copy to clipboard operation
linter-flow copied to clipboard

Atom taking lot of CPU when flow bin version is not the same as flowconfig version

Open MoOx opened this issue 8 years ago • 13 comments

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?

MoOx avatar Jul 06 '16 09:07 MoOx

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 avatar Jul 07 '16 02:07 nmn

@nmn Anything on this?

cristian-sima avatar Sep 05 '16 08:09 cristian-sima

Sorry I've been on vacation. I'll fix this today.

nmn avatar Sep 06 '16 16:09 nmn

Great. I hope you've had a great vacation time. Waiting for the fix ⏩

cristian-sima avatar Sep 07 '16 08:09 cristian-sima

Anything I can do to help fix this?

ericnkatz avatar Sep 23 '16 13:09 ericnkatz

I will be glad if you can do anything to solve this 👍

cristian-sima avatar Sep 23 '16 16:09 cristian-sima

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.

ericnkatz avatar Sep 23 '16 16:09 ericnkatz

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 !!!

cristian-sima avatar Nov 04 '16 11:11 cristian-sima

I feel it was a somehow conflict between my absolute flow.exe and the node version from bin folder

cristian-sima avatar Nov 04 '16 11:11 cristian-sima

hello! Any updates on this?

proProbe avatar Apr 08 '17 00:04 proProbe

Sorry, been busy. But I am working on this, Promise!

nmn avatar Apr 10 '17 18:04 nmn

Waiting :D

cristian-sima avatar Apr 14 '17 09:04 cristian-sima

I'm working with the Flow team to figure some things out.

nmn avatar Apr 25 '17 22:04 nmn