Open JohnnyCrazy opened 9 years ago
Interesting that you got this working. I keep getting a error that github is not defined, despite doing the exact same code.
Did you normally add the package and use new GitHub
and not new GitHubApi
? The wrapper itself is working fine for me.
But somehow, this out-of-memory exception only occurs on my windows machine, running the example on my linux machine github.repos.getFromUser
works flawlessly.
@TaylorAckley
Yes and yes. I also tried it in onRendered. Not a big deal since the API is very to use with the http package. I'm probably doing something stupid.
Ill post a new issue. On Oct 4, 2015 4:31 PM, "Jonas Dellinger" notifications@github.com wrote:
Did you normally add the package and use new GitHub and not new GitHubApi? The wrapper itself is working fine for me.
But somehow, this out-of-memory exception only occurs on my windows machine, running the example on my linux machine github.repos.getFromUser works flawlessly.
@TaylorAckley https://github.com/TaylorAckley
— Reply to this email directly or view it on GitHub https://github.com/bruz/meteor-github-api/issues/4#issuecomment-145401581 .
Oh, you need to use it serverside, not client side.
Thanks, I should have tried that! On Oct 4, 2015 5:40 PM, "Jonas Dellinger" notifications@github.com wrote:
Oh, you need to use it serverside, not client side.
— Reply to this email directly or view it on GitHub https://github.com/bruz/meteor-github-api/issues/4#issuecomment-145405648 .
@JohnnyCrazy I was able to reproduce the out of memory issue in Windows, but haven't had much luck figuring it out. Here are a couple of things I saw that might help in tracking this down:
github.repos.getFromUser
for some users works, and it seems to be for users with not as many reposgithub.repos.getFromUser
works
While the example call
github.user.getFollowingFromUser
works fine, the api fails calling other functions likegithub.repos.getFromUser
Small example:
Will result in the following error:
Any idea what is causing this @bruz ?