mape / node-express-boilerplate

A boilerplate to quickly get projects going. It gives the developer a clean slate to start with while bundling enough useful features.
MIT License
846 stars 119 forks source link

Compatible version of Connect #14

Open BoldBigflank opened 12 years ago

BoldBigflank commented 12 years ago

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