facebookarchive / nuclide

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

nuclide-js-imports-server/nuclide-js-imports-client doesn't work #1643

Open PinkaminaDianePie opened 5 years ago

PinkaminaDianePie commented 5 years ago

Issue and Steps to Reproduce

Nuclide doesn't start server and client for js imports. When I click on the unimported token in JS files it should show the list of possible imports to add, same should be shown when I typing imports by myself at the top of the file. However, server and client for imports doesn't even loads by Atom. I've tried to modify file .atom/packages/nuclide/pkg/nuclide-js-imports-client/lib and put console.log at the top of file, and it doesn't appear in Atom dev tools on start. Same for the server. I also tried to remove activationHooks from package.json and in that case client starts to load and show my console.log, but after that fails because it can't connect to imports server. In Nuclide settings, I have only default values for the nuclide-js-imports-client image I also tried to make it always enabled but with no success: image

I've tried different versions of the Nuclide, last working version is 0.345.0 after it imports doesn't work.

Expected Behavior

List with possible tokens to import should be displayed.

Actual Behavior

Nothing happens, autocomplete for file imports doesn't appear.

Versions

Additional Details

AfflatusX commented 5 years ago

thank you @PinkaminaDianePie for posting the last working version! I was so frustrated when noticing auto import stopped working after upgrading Nuclide - luckily at least I can roll back.

Nuclide team, can we make sure core features like this does not break during new releases? This is a significant regression that impacts developer's efficiency.