Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'bytes' of undefined #60

Open
larzconwell opened this issue Jul 9, 2013 · 2 comments
Open

Cannot read property 'bytes' of undefined #60

larzconwell opened this issue Jul 9, 2013 · 2 comments

Comments

@larzconwell
Copy link

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

@samcday
Copy link
Contributor

samcday commented Jul 14, 2013

@larzconwell What version of gitteh are you using? I can't replicate this with the latest version (0.17.2)

@larzconwell
Copy link
Author

I am using 0.17.2 as well, I should include that I'm using Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants