compoundjs / socket

CompoundJS + Socket.IO
22 stars 10 forks source link

Issue with "connection" event. #7

Open msyea opened 11 years ago

msyea commented 11 years ago

When trying to connect from the client I'm getting this error:

var bridge = new compound.ControllerBridge(compound);
             ^
TypeError: undefined is not a function

I've looked through the source and ControllerBridge doesn't exist. However controllerBridge does but that's not a function either. I don't know the inner-workings of compound to solve this myself.

Best, Si

1602 commented 11 years ago

Fixed. Sorry man, i have lack of time for proper testing. Let me know if further issues. Join #compoundjs on freenode.org IRC channel. You can install fresh version as npm install compoundjs/socket

On Mon, Mar 11, 2013 at 6:09 PM, Simon Mayes notifications@github.comwrote:

When trying to connect from the client I'm getting this error:

var bridge = new compound.ControllerBridge(compound); ^ TypeError: undefined is not a function

I've looked through the source and ControllerBridge doesn't exist. However controllerBridge does but that's not a function either. I don't know the inner-workings of compound to solve this myself.

Best, Si

— Reply to this email directly or view it on GitHubhttps://github.com/compoundjs/socket/issues/7 .

msyea commented 11 years ago

Just joined the IRC channel. I just tried npm install compoundjs/socket but that installed an old version of rw.io.

msyea commented 11 years ago

Unfortunately there's now some issues within ControllerBridge.

controller-bridge.js:198
            $(req.app.path()).blue +
                      ^
TypeError: Cannot call method 'path' of undefined