composer 安装项目提示Token 输入,这个是怎么理解?

新手提问 · iamwil · 于 4年前 发布 · 15414 次阅读

[root@test www]# /usr/local/php/bin/php /usr/local/bin/composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced /home/www/test Installing yiisoft/yii2-app-advanced (dev-master cc02669d712cabce2cd517cd376370c3ec9f7ca7)

  • Installing yiisoft/yii2-app-advanced (dev-master master) Loading from cache

Created project in /home/www/test Loading composer repositories with package information Installing dependencies (including require-dev) Reading bower.json of bower-asset/jquery (1.11.1-beta1) Could not fetch https://api.github.com/repos/jquery/jquery/contents/bower.json?ref=b6c4e50fb8f24dcf7bf38e053e68c4d0e7f059e8, 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 test 2015-09-08 1749 to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer. Token (hidden): Invalid token provided. You can also add it manually later by using "composer config github-oauth.github.com " Reading bower.json of bower-asset/jquery (1.11.1)
Could not fetch https://api.github.com/repos/jquery/jquery/contents/bower.json?ref=0d5ec2d8ac94a419ee47a39319c43ff9a7326b50, 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 test 2015-09-08 1803 to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer. Token (hidden):

共收到 3 条回复
forecho#24年前 0 个赞

善用搜索你会受用一生

iamwil#34年前 0 个赞

okl

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册