zewa666 / generator-aurelia

Yeoman generator for the JavaScript Framework Aurelia
77 stars 18 forks source link

Rate limiting #23

Closed mikechabot closed 8 years ago

mikechabot commented 8 years ago

I don't think this is specific to the aurelia-generator, however I ran yo aurelia once yesterday, but deleted the directory this morning, and re-ran yo aurelia, but am hit with:

Error aurelia

Failed to get latest release info. Reason: {"message":"API rate limit exceeded for <my-public-IP>. (Bu
t here's the good news: Authenticated requests get a higher rate limit. Check out the documentation
for more details.)","documentation_url":"https://developer.github.com/v3/#rate-limiting"}

I ran the command once and I hit the limit? Are there any optimizations the generator might need to not allow end-users to hit this limit so quickly?

zewa666 commented 8 years ago

github is used quite extensively throughout the whole process, not only specific to the generator but also to Aurelia's install procedure itself. So as hinted by the README https://github.com/zewa666/generator-aurelia#prerequisite you really should setup your credentials or a token