Skip to content

Cannot read property 'bytes' of undefined #60

@larzconwell

Description

@larzconwell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions