"addListener only takes instances of Function"
Closed this issue · 1 comments
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 ?
I found the answer: The version on npm isn"t good, i had to compile myself