+
Skip to content

constructed with user/pass results in "TypeError: Cannot call method 'encode' of undefined" #83

Closed
@Pomax

Description

@Pomax

used as a pure client side version (no nodejs):

var github = new Github({
  username: "Pomax",
  password: "......"
});
var repo = github.getRepo("Pomax", "bezierinfo");
repo.getTree("masster", function(err, data) { console.log(data); });

which gives me

TypeError: Cannot call method 'encode' of undefined

If there is something missing from this sequence of calls, the readme.md will need the additional information added, otherwise this is probably a bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载