hasen's tech life

Twitter: @hasen

"please create a GitHub OAuth token to go over the API rate limit"というエラーが出たので対応した.

# "please create a GitHub OAuth token to go over the API rate limit"というエラーが出たので対応した.
# PCが変わったので,再登録する必要があった.

# error
$ composer install
> Loading composer repositories with package information Reading composer.json of fuel/auth (1.8/develop)
> Could not fetch https://api.github.com/repos/fuel/auth/commits/60a677f09baed9740d7fa60dc21ac8db27350dc7,
> please create a GitHub OAuth token to go over the API rate limit
> Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+PC_NAME.local+2015-12-07+0649 to retrieve a token.
> It will be stored in "/PATH/TO/.composer/auth.json" for future use by Composer.
> Token (hidden):

# "https://github.com/settings/tokens"にアクセスして,ボタン「Generate new token」をクリック,
# 「Token description」を入力し,フォーム「Select scopes」に入力し,ボタン「Generate token」をクリック.
# 表示されるtokenをコピペする.

# success
$ composer install
> Loading composer repositories with package information Reading composer.json of fuel/auth (1.8/develop)
> Could not fetch https://api.github.com/repos/fuel/auth/commits/60a677f09baed9740d7fa60dc21ac8db27350dc7,
> please create a GitHub OAuth token to go over the API rate limit
> Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+PC_NAME.local+2015-12-07+0649 to retrieve a token.
> It will be stored in "/PATH/TO/.composer/auth.json" for future use by Composer.
> Token (hidden):