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+名称+时间
to retrieve a token. It will be stored in “C:/Users/Administrator/AppData/Roaming/Composer/auth.json” for future use by Composer.
登录github,打开下面链接
https://github.com/settings/tokens
生成一个token
然后执行以下代码
composer config --global --auth github-oauth.github.com <token>
正确写法
composer config --global --auth github-oauth.github.com 441be92d716e*****853ec70ffa
然后看报错提示里面的
C:/Users/Administrator/AppData/Roaming/Composer/auth.jso
这个下面的文件是否有改变,如果有就没啥问题了