spacemacs @develop (branch). I can't use
lsp-ui. In vscode everything works (using flow lsp mode). With
company-flow I can also make it working.
When opening a
.js file with
// @flow comment the lsp mode is activating automatically and tries to run the flow server and crashes:
Server flow-ls:7818 status:starting exited with status exit. Do you want to restart it? (y or n) y
Each time I'm trying to restart I see the same thing. So the type inspection and type checks doesn't work.
Syntax is highlighted but I think it doesn't work (when I set
js2-mode-show-parse-errors nil variable in the layers variable I see different view (eg the
import type is not highlighted in red).
I'm running the latest version of flow, and have
flow-bin installed (same version) in the package (
node_modules) and globally.
flow binary is in the PATH.