mpen
mpen

Reputation: 282895

How to get inline error checking working with Atom/Nuclide and Hack?

Nuclide supposedly supports error checking, but I can't figure out how to set it up.

No errors are displayed in the IDE (see screenshot). Is there something else I have to do?

hack screenshot

$ 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

Answers (1)

MostafaEweda
MostafaEweda

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

Related Questions