6月前 138 0 0
composer update yii2
Warning: This development build of composer is over 60 days old. It is recommend
ed to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-
update" to get the latest version.
Package "yii2" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)

Could not fetch https://api.github.com/repos/bestiejs/punycode.js, 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+USER-20151225JD+2017-03-08+0210
to retrieve a token. It will be stored in "C:/Users/Administrator/AppData/Roamin
g/Composer/auth.json" for future use by Composer.
Token (hidden):

解决办法就是:

进入 https://github.com/settings/tokens 点击 「Generate new token」 新建一个 Token,选择默认新建就行,然后就会得到一个 Token,然后输入这个值就 OK 了。

0 条评论

还没有人评论。
您需要登录后才可以回复。登录 | 立即注册