meteorhacks / npm

Complete NPM integration for Meteor
http://meteorhacks.com/complete-npm-integration-for-meteor.html
MIT License
509 stars 43 forks source link

Error : RangeError: Maximum call stack size exceeded. #65

Open gsrivast31 opened 9 years ago

gsrivast31 commented 9 years ago

When I try to use headers object in the following code, I get the mentioned error. Without that, everything works fine. getGitHubReadme : function(user, repo) { var headers = {'Accept' : 'application/vnd.github.3.html'}; var repoReadMe = Async.runSync(function(done) { github.repos.getReadme({headers: headers, user: user, repo: repo}, function(err, data) { done(null, data); }); }); return repoReadMe.result; }

Am I missing something here?