大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区

标题: composer安装TOKEN报错的解决 [打印本页]

作者: 追影    时间: 2016-1-21 15:17
标题: composer安装TOKEN报错的解决
本帖最后由 追影 于 2016-1-21 15:18 编辑

大概的信息就是提示让登陆github,然后就报错了


  1. Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit
  2. The credentials will be swapped for an OAuth token stored in /Users/username/.composer/auth.json, your password will not be stored
  3. To revoke access to this token you can visit https://github.com/settings/applications
  4. Username: username
  5. Password:
  6. An existing OAuth token for Composer is present and will be reused
复制代码


解决方法

进入https://github.com/settings/applications创建一个一个新的token


创建成功后会生成一个token,如下图

然后执行

composer config -g github-oauth.github.com 上面的token

即可



作者: 沫以沁泠    时间: 2016-5-22 17:19
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区 (https://www.damicms.com/bbs/) Powered by Discuz! X3.1