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

出现了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):

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

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

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

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

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注