creationix/topcube — Issue #8: "addListener only takes instances of Function"
Author: Gloorian
Created: 2012-02-27 08:14:13+00:00
State: open

When trying to create the app.js, it throws me:

"node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: addListener only takes instances of Function
at Server. (events.js:101:11)
at new Server (http.js:1356:10)
at Object.createServer (http.js:1373:10)
at listen (/home/nicolas/public_html/gtk/node_modules/topcube/topcube.js:10:21)
at WebApp (/home/nicolas/public_html/gtk/node_modules/topcube/topcube.js:20:3)
at Object. (/home/nicolas/public_html/gtk/app.js:15:3)
at Object. (/home/nicolas/public_html/gtk/app.js:22:4)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)"

Do you know where this might come from ?