我只是按照yii网站的说明进行操作,并不是很了解作曲家。我按照http://www.yiiframework.com/doc-2.0/guide-start-installation.html
的说明进行操作验证似乎正在运行,但它会一次又一次地提示我输入用户名/密码。
任何人都有一些我可以检查的东西,看看它为什么会一直提示?
[root@dndbox html]# composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
Installing yiisoft/yii2-app-basic (dev-master b528289495bf9721d2b8c628d69caad42e45b0ce)
- Installing yiisoft/yii2-app-basic (dev-master master)
Downloading: connection...
Could not fetch https://api.github.com/repos/yiisoft/yii2-app-basic/zipball/b528289495bf9721d2b8c628d69caad42e45b0ce, enter your GitHub credentials to go over the API rate limit
The credentials will be swapped for an OAuth token stored in /root/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications
Username: *.com
Password:
An existing OAuth token for Composer is present and will be reused
Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit
The credentials will be swapped for an OAuth token stored in /root/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications
Username: *.com
Password:
An existing OAuth token for Composer is present and will be reused
Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit
The credentials will be swapped for an OAuth token stored in /root/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications
Username:
====================================编辑1 ========= ============================
如果我访问提供的网址,我会在json https://api.github.com/authorizations
中收到错误消息{
"message": "API rate limit exceeded for xxx.xxx.xxx.26. (But 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"
}
答案 0 :(得分:13)
它可能会帮助你更多。请按照以下步骤操作:
现在它将进入安装过程。
祝你好运......
答案 1 :(得分:5)
在论坛上看到这个答案
它帮助了我
答案 2 :(得分:-1)