执行 composer require guzzlehttp/guzzle 报错
执行 composer require guzzlehttp/guzzle 报错
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with public GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+DESKTOP-1TIHTGP+2022-06-05+1620 to retrieve a token.
This token will have read-only permission for public information only.
When you need to access private GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+DESKTOP-1TIHTGP+2022-06-05+1620
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "C:/Users/52985/AppData/Roaming/Composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden):
如果这时还是报错,如下这种情况,重新执行下 composer require guzzlehttp/guzzle 就可以了
发布时间 : 2023-03-01,阅读量:2716