Use composer to install the composer package to prompt for the authorization code, and then report an error after entering the authorization code successfully. what's going on?

problem description

I use composer to install the composer package. During installation, I am prompted for the authorization code, but when I enter the authorization code, I report an error

clipboard.png
excuse me, what"s going on?

Apr.18,2022

Open your composer.json and add the following paragraph:

"config": {
    "process-timeout": 1800,
    "github-oauth": {
        "github.com": "github"
    }
}

Note that if there is already a config configuration section, the point is to add github-oauth , edit it and then try again.


this goes to github to get the next personal token and pastes it over

.
Menu