-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coc-flow in vim #4
Comments
Do you have |
i have the same issue. Maybe it's related to flow being installed in the project's
i also tried to use these config params (that's where my flow binary is located)
but fruitless, same error:
|
@Seybo we seem to have similar issues. I was getting the "failed to start flow" errors. I uninstalled I now have flow linting up and running while also using tsserver: "javascript.validate.enable": false, // use tsserver, but not for validation
"flow.enable": true, // DELETE
"flow.pathToFlow": "/Volumes/.../<project_root>/node_modules/.bin/flow", // DELETE
// in my language-server prop include the following entry:
"flow": {
"command": "/Volumes/.../<project_root>/node_modules/.bin/flow", // KEY
"args": ["lsp"],
"filetypes": ["javascript", "javascriptreact", "javascript.jsx"],
"initializationOptions": {},
"requireRootPattern": true,
"rootPatterns": [".flowconfig"],
"settings": {}
}, This is a hack for sure, but as a temp fix it worked for me. Confirmation of the operating service:The ... what would make it less of a hack, is to know how to include a ref to my project folder. I hope this helps. - E |
[coc.nvim]Server languageserver.flow failed to start: Command "flow" of language
server.flow is not executable: Error: not found: flow
The text was updated successfully, but these errors were encountered: