还有没有人在通过composer安装gedmo/doctrine extensions时遇到问题?
存储库是公共的,所以我不确定为什么它会说它是私有存储库
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+computername+2015-09-04+1040 to retrieve a token. It will be stored in "/location/.composer/auth.json" for future use by Composer. Token (hidden):
发布于 2015-09-05 06:58:56
简而言之:您正在达到API速率限制,因为您没有针对它进行身份验证。
Github API有一个非常低的速率限制,所以如果你安装了很多包,它会在某些时候失败,并要求你提供登录/密码。
如果您不希望向Composer提供GitHub凭据,则可以使用以下步骤手动创建令牌:
composer config -g github-oauth.github.com <oauthtoken>的配置现在,Composer应该在不要求身份验证的情况下安装/更新。
发布于 2020-05-09 23:29:39
git安装您的系统
关闭cmd (命令提示符)
https://stackoverflow.com/questions/32396462
复制相似问题