facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

Nothing happens after fresh install #59

Open phtrivier opened 6 years ago

phtrivier commented 6 years ago

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 a package.json, a .flowtype, flow-bin in node_modules and... nothing special happens. No linter, no hyperclick, etc...

Silly question, but... what could I be missing ?

saadq commented 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?

phtrivier commented 6 years ago

Yes, I meant .flowconfig, sorry. And yes, it is nested (the .git folder is not next to my package.json).

saadq commented 6 years ago

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.

phtrivier commented 6 years ago

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.

wbinnssmith commented 6 years ago

@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

Kaschman commented 6 years ago

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