Reputation: 282895
Nuclide supposedly supports error checking, but I can't figure out how to set it up.
apm install nuclide-installer
hh_client
from my project dir on the commandline and it does report errors.hhconfig
in my project root, but it's empty (no idea what to put inside it)No errors are displayed in the IDE (see screenshot). Is there something else I have to do?
$ atom --version
1.0.11
$ hh_client
hacktest.php:4:10,21: Invalid return type (Typing[4110])
hacktest.php:3:22,24: This is an int
hacktest.php:4:10,21: It is incompatible with a string
hacktest.php:9:1,0: Expected ; (Parsing[1002])
$ watchman --version
3.7.0
$ stat .hhconfig
File: ‘.hhconfig’
Size: 0 Blocks: 16 IO Block: 4096 regular empty file
Upvotes: 0
Views: 608
Reputation: 367
I suspect that's an installer issue (we had experienced a similar incident), so the hack
package isn't properly installed/activated. Could you try building Nuclide from source and see it that fixes the issue for you: https://github.com/facebook/nuclide#building-from-source
Upvotes: 1