Composer Install Yii2 or laravel error

Source: Internet
Author: User
Tags oauth composer install

The general message is to ask for a landing on GitHub, and then the error

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 13px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick">Could not fetch https://api.github.com/authorizations, enter your github credentials to go through the API rate Limitthe Credentials'll be swapped to an OAuth token stored in/users/username/.composer/auth.json, your password would not be St Oredto revoke access to the token you can visit Https://github.com/settings/applicationsUsername:usernamePassword:An ex Isting OAuth token for Composer is present</textarea> and would be Reus

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

Workaround

Enter Https://github.com/settings/applications to create a new token

A token is generated when the creation is successful, such as

And then execute

Composer Config–global Github-oauth.github.com above the token

Can

Reprint: http://www.cnsecer.com/6994.html

Composer Install Yii2 or laravel error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.