Open phtrivier opened 6 years ago
By .flowtype
, you mean .flowconfig
right? And with this project you have open in Atom, is all this stuff in the root directory of the project? Or is it nested in some other folder?
Yes, I meant .flowconfig
, sorry.
And yes, it is nested (the .git
folder is not next to my package.json
).
Then I think this seems to be the same issue as #13. As of right now, it seems that the root project folder open in Atom needs to be your flow root.
I have the same behavior when adding the folder that contains the .flowconfig
as a project folder in atom instead of the monorepo's root.
@phtrivier can you run flow from the command line? One thing this package doesn't do well right now is surface underlying errors that prevent flow from running.
Thanks for chiming in @saadq :D
I was having a similar problem. I had only installed flow locally in node_modules
. The fix was to:
1) Install flow globally npm install --global flow-bin
2) Uninstall and reinstall ide-flowtype
in Atom
I did a fresh install of atom 1.24.0 , then installed packages
atom-ide-ui
&&ide-flowtype
. After that I opened a file inside a project with apackage.json
, a.flowtype
,flow-bin
innode_modules
and... nothing special happens. No linter, no hyperclick, etc...Silly question, but... what could I be missing ?