local and remote events not firing with connect/listen #101

Open
tanepiper opened this Issue Jun 25, 2012 · 3 comments

Comments

Projects
None yet
4 participants

With the following example:

https://gist.github.com/bd54f3886f122359ee0c

On the server.js side, the events for local and remote never fire.

However they work fine when streams are involved:

https://gist.github.com/22d9bd4dc6dc2afa4f28

I'm having the same issue... I'm not getting any events on the browser side.

https://gist.github.com/JoshTheGeek/9dd10aa82eb35c97180d

I can see it connect in firebug and the serverside log, but none of the alerts ever fire, except for the 'end,' which briefly appears when you refresh the page or press stop. This would be an awesome framework, but I can't seem to get it to work.

asalant referenced this issue in amir20/phantomjs-node May 2, 2013

Closed

phantomjs-node hangs on node v0.10.3 #77

JumpLink commented Nov 5, 2013

same here

spelufo commented Sep 9, 2014

Me too. Same as tanpiper: server events don't fire with var d = dnode({}).connect(PORT); d.on..., only with the explicit net.createServer method. Client events work fine for me.

This bit of sugar not working isn't such a big deal, but it took me a while to realize what was going on, perhaps a note on the readme would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment