facebookarchive / nuclide

An open IDE for web and native mobile development, built on top of Atom
https://nuclide.io
Other
7.79k stars 683 forks source link

No Typechecking in Fresh Install of Nuclide + Hack #1658

Open hoxiea opened 5 years ago

hoxiea commented 5 years ago

Issue and Steps to Reproduce

I'm trying to get up and running with a hack programming project, and I can't seem to get Nuclide typechecking working for my hack code.

I followed the standard installation instructions for OS X. hhvm was installed via homebrew. Nuclide was installed via the Atom Package Manager, and there were no error messages.

Expected Behavior

Type errors should be highlighted in the Editing Area and the Code Diagnostics pane, as described in the Nuclide: Hack docs.

Actual Behavior

Running hh_client produces a type error as expected, but this information doesn't appear in Nuclide.

screen shot 2018-11-29 at 1 40 24 pm screen shot 2018-11-29 at 1 48 00 pm screen shot 2018-11-29 at 1 42 15 pm screen shot 2018-11-29 at 1 42 44 pm screen shot 2018-11-29 at 1 44 16 pm

Versions

Additional Details

hoxiea commented 5 years ago

Uninstalling and reinstalling Atom and Nuclide didn't make in-editor typechecking feedback work.

I also switched over to hhvm@3.27-lts in homebrew, thinking that an LTS release might be more stable/functional. That didn't work either.

I also downloaded Ubuntu 18.04, ran it inside VirtualBox, and followed the official instructions to download and install Atom and HHVM - no real-time in-editor typechecking appeared there either, despite hh_client providing the correct typechecking feedback.

I realize that this is a naive, fairly non-technical issue that I'm having. But the documentation just assumes that it'll work, with very little information about what to do if this feature (which seems to be a major selling point of hack) doesn't work.

Is there some kind of log I can upload or diagnostic I can run to try to figure out where this is breaking down? I'm a longtime Vim user who's totally new to Atom/Nuclide, so unfortunately, I'm in the dark here. Any help would be appreciated.

ChrisRudall commented 5 years ago

I have exactly the same issue