mortalapeman / LT-TernJS

A TernJS plugin for Light Table
Other
32 stars 4 forks source link

Infinite loop on connect #16

Closed triclops200 closed 10 years ago

triclops200 commented 10 years ago

Tern server never connects even though it is installed via npm.

mortalapeman commented 10 years ago

Thanks for reporting! I won't be able to get to your issue until this weekend. To better reproduce this issue for testing, can you provide the OS and version of Light Table that you are using? On Jun 3, 2014 10:00 AM, "triclops200" notifications@github.com wrote:

Tern server never connects even though it is installed via npm.

— Reply to this email directly or view it on GitHub https://github.com/mortalapeman/LT-TernJS/issues/16.

triclops200 commented 10 years ago

LMDE amd64 and LightTable V 0.6.6. The connect square at the bottom left would say "Connecting To Tern" and then would just loop on connect. I have the newest Node release version installed and the newest NPM, as well as the newest tern installed via the npm. I symlinked the tern executables to both /usr/bin and ~/bin (which is on my PATH), and tern starts up correctly from my terminal.

Aside: Sorry that the error message was brief, was at work and prototyping something.

mortalapeman commented 10 years ago

You shouldn't need to install Tern, it comes with the plugin. Can you provide a minimal example project or the JavaScript library that seems to be causing the issue? I am having no trouble connecting to Tern when trying to reproduce the issue.

triclops200 commented 10 years ago

Open a new js file: start typing "docu" and it would infinite loop.