node-gitteh
node-gitteh copied to clipboard
Cannot read property 'bytes' of undefined
So I'm following the clone example, and every time I get the same error about a property being undefined.
Code
var gitteh = require('gitteh');
var clone = gitteh.clone('http://github.com/libgit2/node-gitteh.git', '/tmp/test');
clone.on('complete', function () {
// do some stuff
});
clone.on('error', function (err) {
// do some stuff
});
Stack trace
TypeError: Cannot read property 'bytes' of undefined
at update [as _onTimeout] (/home/larz/Desktop/test/node_modules/gitteh/lib/gitteh.js:499:51)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
It looks like it's being caused here
@larzconwell What version of gitteh are you using? I can't replicate this with the latest version (0.17.2
)
I am using 0.17.2
as well, I should include that I'm using Linux.