出现了Could not fetch https://api.github.com/ 。。。please create a GitHub OAuth token to go over the API rate limit 。。。 to retrieve a token.  。。。 Token (hidden):

使用 Composer 的时候提示输入Token (hidden):

如果也是因为composer install出现Failed to decode response: zlib_decode(): data error,可以参考一下我另一篇:http://www.cnblogs.com/cxscode/p/7003756.html

不是请继续往下,,,

进入 https://github.com/settings/tokens 点击 「Generate new token」 新建一个 Token,选择默认新建就行,然后就会得到一个 Token,然后输入这个值就 OK 了。

help:1.生成Token 请选择 gist Create gists,这项,复制粘贴才能成功

   2.粘贴前最好确定没有输入其他东西(先按几下backspace比较保险),粘贴完了就按回车键就可以了,Token(hidden) 是不显示的。

注意:一般出现填写token,可能都是因为频繁下载,申请token的号可能会被github屏蔽,最好用新号哦!

 

 版权声明:本文为博主原创文章,未经博主允许不得转载。

 

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-07-03
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2021-08-09
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-09-28
  • 2021-08-03
相关资源
相似解决方案