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

[Hack] Errors from the Project scope are shown as from current file #172

Open
steelbrain opened this issue Aug 18, 2015 · 4 comments
Open

Comments

@steelbrain
Copy link

I am doing an internal API rewrite in my app and I have about ~250 errors. Nuclide is showing all of those messages as they are from the current file which is incorrect and makes the editor lag for me.

@steelbrain steelbrain changed the title [Hack] Project from the whole scope are shown as from current file [Hack] Errors from the whole scope are shown as from current file Aug 18, 2015
@steelbrain steelbrain changed the title [Hack] Errors from the whole scope are shown as from current file [Hack] Errors from the Project scope are shown as from current file Aug 18, 2015
@steelbrain
Copy link
Author

@elijahb
Copy link

elijahb commented Sep 6, 2015

This also happens to me (and atom crashes, I'm not sure if because of this or another bug)

@steelbrain
Copy link
Author

@elijahb You can work around this by removing these lines unless it's fixed https://github.com/facebook/nuclide/blob/3ae2a3a9c5ac679ae983c88fba76ad9a919093ff/pkg/nuclide/hack/lib/hack.js#L58-L62
Please note that this solution has only been tested on a local hhvm installation. Not sure if it'll work for remote ones.

@elijahb
Copy link

elijahb commented Sep 6, 2015

Thank you @steelbrain , I'm using v0.0.30 and the lines you point out are similar to this ones https://github.com/facebook/nuclide/blob/v0.0.30/pkg/nuclide/hack/lib/hack.js#L57-L60 and they do indeed cause the problem. Commenting them fixes it, working also locally.

chenglou pushed a commit to chenglou/nuclide that referenced this issue Mar 22, 2016
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