Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

No Typechecking in Fresh Install of Nuclide + Hack #1658

Open
hoxiea opened this issue Nov 29, 2018 · 2 comments
Open

No Typechecking in Fresh Install of Nuclide + Hack #1658

hoxiea opened this issue Nov 29, 2018 · 2 comments

Comments

@hoxiea
Copy link

hoxiea commented Nov 29, 2018

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

  • Atom: 1.33.0
  • Nuclide: 0.366.0
  • Client OS: Mac OSX 10.14.1
  • Server OS (optional):

Additional Details

  • Installed packages (apm ls --installed):
    Community Packages (19) /Users/work/.atom/packages
    ├── file-icons@2.1.26
    ├── highlight-selected@0.14.0
    ├── language-babel@2.85.0
    ├── language-graphql@0.11.0
    ├── language-haskell@1.17.8
    ├── language-ini@1.20.0
    ├── language-kotlin@0.5.0
    ├── language-lua@0.9.11
    ├── language-ocaml@1.9.5
    ├── language-rust@0.4.12
    ├── language-scala@1.1.9
    ├── language-swift@0.5.0
    ├── language-thrift@1.0.2
    ├── linter@2.2.0 (disabled)
    ├── nuclide@0.366.0
    ├── nuclide-format-js@0.0.47
    ├── set-syntax@0.4.0
    ├── sort-lines@0.18.0
    └── tool-bar@1.1.11
@hoxiea
Copy link
Author

hoxiea commented Dec 5, 2018

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
Copy link

I have exactly the same issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants