Answer the question
In order to leave comments, you need to log in
Tokken github not working in auth.json composer?
Hello, I have not been able to solve the problem for several days. For some reason, tokken does not work to bypass download volume restrictions in github in composer.
I scored data both at the root level and at the directory level. both in auth.json and composer.json, wrote commands, all to no avail:
Could not fetch https://api.github.com/repos/yiisoft/jquery-pjax, 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+aurus.me+2015-11-16+0220
to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer.
Token (hidden):
--global github-oauth.github.com "ab046cf3ee906d4aa67b20bab01fdfe6ddd7ead6"
{
"http-basic": {},
"github-oauth": {
"github.com": "ab046cf3ee906d4aa67b20bab01fdfe6ddd7ead6"}
}
"config": {
"process-timeout": 1800,
"github-oauth": {
"github.com": "ab046cf3ee906d4aa67b20bab01fdfe6ddd7ead6"
}
},
Answer the question
In order to leave comments, you need to log in
All the same, it worked when I registered authorization at the composer.json level in the directory with the distribution.
{
"config": {
"github-oauth": {
"github.com": "вот здесь токен"
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question