Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible version of Connect #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BoldBigflank
Copy link

I was getting this error, caused by installing the latest version of connect:
Caught exception: TypeError: undefined is not a function
TypeError: undefined is not a function
at Manager. (/Users/aswan/myproject/lib/socket-io-server.js:10:17)
at Manager.authorize (/Users/aswan/myproject/node_modules/socket.io/lib/manager.js:867:31)
at Manager.handleHandshake (/Users/aswan/myproject/node_modules/socket.io/lib/manager.js:743:8)
at Manager.handleRequest (/Users/aswan/myproject/node_modules/socket.io/lib/manager.js:570:12)
at HTTPServer. (/Users/aswan/myproject/node_modules/socket.io/lib/manager.js:116:10)
at HTTPServer.emit (events.js:70:17)
at HTTPParser.onIncoming (http.js:1514:12)
at HTTPParser.onHeadersComplete (http.js:102:31)
at Socket.ondata (http.js:1410:22)
at TCP.onread (net.js:354:27)

This error does not occur when you use a version of Connect < 2.0. I have updated the package.json to use version 1.8.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant