-
Notifications
You must be signed in to change notification settings - Fork 915
Can't connect to NodeJS instance 0.4.1 #497
Comments
Just tried it with a simpler node app and it works so it's something specific with this one (which has a lot of modules). |
can you try the suggestion in #491? |
It connected for about 10 seconds and then died with the same error message. So, better :P. Is there a log file I can look at to give you more info? |
And nothing was printed to the bottom console? |
/Users/warnero/.lighttable/plugins/nodejs/ltnodeclient.js:96 On Thu, May 2, 2013 at 9:09 AM, Chris Granger notifications@github.com
|
Have you linked your local NPM modules to your global NPM modules ? |
This one is on us, I'm trying to figure out the best way to go about fixing it. The issue has to do with the way we evaluate things and how references to global things like "Object" are propagated. |
Any news about this issue? I getting the same error. My project uses Amazon AWS plugin (I don't know if this can help). PS: Quebecisnice, I did what you suggest. |
Can you post a link to the AWS package you are using ? |
It's the aws-sdk package (http://aws.amazon.com/sdkfornodejs/) and I am getting the following error: C:\Users\Tiago.lighttable\plugins\nodejs\ltnodeclient.js:96 Error: read ECONNRESET |
What I did:
Result: Everything working. But, even then I got the same error in console. |
Is this fixed in the latest 0.5.0? |
Yes, unfortunately. |
I think this should be closed. |
Why? Has it been fixed? Not going to be fixed? I honestly haven't tried LightTable since because this functionality is something I'd rely on daily. |
I thought that was fixed. Can you test in LT 0.5.17? |
Tried a couple of different projects from simple to complex and none start. Here's the output from one that is simple. Invalid behavior: :lt.objs.clients.tcp-client/start-debugger! |
Can I see that project? Or can you show me one that does fail? I just fixed the original aws-sdk issue. |
I just updated to .19 and it fails a bit differently now: Here's a project that fails with this error. |
I can confirm that LT is still affected (esp. on the mongoose part). First project breaks, I had it fail on Next I tried clean slate ( Now if I added
edit: the project does get added to the connections btw with that last test (including both coffee-script and mongoose as dependencies required). |
P.s. I can share some of the code of the original project failing, it highlights where it goes wrong anyway, if it is of any use (I hope):
The bindings directory ( Next is the code it kicks off, nothing special I guess:
Last line 859 referenced in stack trace shows closing. Anyway as Chris mentioned the problem is known, not sure how much this contributes but just to inform, the problem isn't limited to |
@robjens I'm willing to look into this further if you can share a minimal project with which you can reproduce it. Also, if you would, please build and run the atom-shell branch version and test connecting to your projects with it. |
@robjens The master branch is now running on Atom; please build that if you can. |
I believe I'm seeing the same issue on Linux using the prebuilt 0.7.2 binary and master, 686c9b1. I get the following error when trying to connect to server.js[0]:
[0] The project is fully open source. http://git.wikimedia.org/blob/mediawiki%2Fservices%2Fmobileapps/HEAD/server.js |
@niedzielski Thanks; an example should hopefully make fixing this easier. We're currently working on the next release but, even after it's done, I'm not sure when someone can look at this. |
@kenny-evitt, thanks! I don't have bandwidth to help develop a fix but I would be happy to help test one when it does come along. |
yep, getting the same problem using the locomotive library for nodejs
|
@niedzielski issue seems separate and I've made LightTable/Javascript#18 for it |
I first tried just launching and connecting that failed, then managed to get it started via the command-line and instead of failing completely it now tells me that the Node process suddenly quit and to check the console. I've been going through the console logs but don't know what I'm looking for and nothing pops up. Is there a specific log file to look at? I tried the lighttable server.log but there didn't seem to be much in there (and nothing new when I tried to connect, just a netty error).
Really would love to start using this for my Node development so any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: