Skip to content

icanhazstring/composer-unused (installed globally) contains a Composer plug in which is blocked by your allow-plugins config #377

Closed Answered by ilhanyumer
ilhanyumer asked this question in Q&A
Discussion options

You must be logged in to vote
{
    "config": {
        "allow-plugins": false
    }
}

The code above didn't solve my problem after I wrote it into my composer.json file. Apparently there is another composer.json file located at /home/yourUbuntuUsername/.config/composer that needs to be updated. I have solved my problem by running the command below:

/etc/php8/bin/php composer.phar global show -i

Then it asked me if I trust icanhazstring/composer-unused and I said y. Then my problem was solved.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@icanhazstring
Comment options

Answer selected by icanhazstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants