facebookarchive/ide-flowtype

User is not notified of flow status or flow executable not found

jedwards1211 opened this issue · 0 comments

When I saved my .flowconfig file the Diagnostics panel went blank and seemed like it was never going to populate. It is very miserable to sit and wonder if the flow server is still checking or if it has crashed, since ide-flowtype doesn't display the status of the flow server anywhere in the UI (why are the authors of this package okay with this?)

Furthermore, it doesn't seem to notify me of fatal errors. When I opened the console, I discovered this:

/Users/andy/.atom/packages/ide-flowtype/node_modules/vscode-jsonrpc/lib/messages.js:46 Uncaught (in promise) Error: Request initialize failed with message: ENOENT: no such file or directory, chmod '/Users/andy/Library/Flow/bin/0.62.0/flow'
    at new ResponseError (/Users/andy/.atom/packages/ide-flowtype/node_modules/vscode-jsonrpc/lib/messages.js:46:28)
    at handleResponse (/Users/andy/.atom/packages/ide-flowtype/node_modules/vscode-jsonrpc/lib/main.js:430:48)
    at processMessageQueue (/Users/andy/.atom/packages/ide-flowtype/node_modules/vscode-jsonrpc/lib/main.js:258:17)
    at Immediate.<anonymous> (/Users/andy/.atom/packages/ide-flowtype/node_modules/vscode-jsonrpc/lib/main.js:242:13)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)