wearefractal/fusker — Issue #5: Express and fusker
Author: alejandromg
Created: 2011-12-17 20:54:55+00:00
State: open

So, I'm trying to make this work, but no matter what I do (after add fusker) throws me this error:

TypeError: Object function (source, overwrite, deep) {
var name, x, _i, _j, _len, _len2, _ref, _ref2;
if (overwrite == null) overwrite = false;
if (deep == null) deep = false;
if (deep) {
_ref = Object.getOwnPropertyNames(source);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
name = _ref[_i];
if (this.hasOwnProperty(name && !overwrite)) continue;
Object.defineProperty(this, name, Object.getOwnPropertyDescriptor(source, name));
}
} else {
_ref2 = source.keys();
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) {
x = _ref2[_j];
if (this.hasOwnProperty(x && !overwrite)) continue;
this[x] = source[x];
}
}
return this;
} has no method 'push'
at Router._route (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/router/index.js:396:6)
at HTTPServer.merge (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:556:31)
at HTTPServer. (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:575:17)
at Array.forEach (native)
at HTTPServer.all (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:573:11)
at Object. (/home/alejandromg/dev/Dropbox/ulearn/app.js:468:5)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)

I saw the example but it's not working for me