zoukankan      html  css  js  c++  java
  • composer安装yii2或者laravel报错

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

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

    解决方法

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

    composer安装yii2或者laravel报错 --composer 第1张

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

    composer安装yii2或者laravel报错 --composer 第2张

    然后执行

    composer config –global github-oauth.github.com 上面的token

    即可

    转载:http://www.cnsecer.com/6994.html

  • 相关阅读:
    常用的Dos命令
    关于CSS3
    数据渲染
    jQuery中的AJAX
    AJAX
    面向对象3
    克隆对象、对象继承
    面向对象2
    面向对象1
    面向对象
  • 原文地址:https://www.cnblogs.com/wawahaha/p/4890833.html
Copyright © 2011-2022 走看看