To content | To menu | To search

fuelphp の composer で GitHub Authorization エラー

FuelPHP 1.7.3 の zip 版を使おうとしたら、composer.phar update が

Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API >rate limit

とエラー。

とりあえずエラーメッセージの中の URL にアクセスして、GitHub のアカウントでログインして、そのままトークンを生成。
Composer Update Fails due to Github Authorization #3542 を参考に、compose.json の config の中に

"github-oauth": {
            "github.com": "<取得したトークン>"
}

を追加して、少し進んだ(config の中に vendor-dir もあるので、その行の末尾にはカンマを追加)。

でも .git ディレクトリがどうこう言うので、git clone で再度試す。

Add a comment

HTML code is displayed as text and web addresses are automatically converted.

They posted on the same topic

Trackback URL : https://www.pseudomoon.jp/dotclear/index.php?trackback/41

This post's comments feed