Skip to content
Advertisement

Composer hidden Token

Everytime I update composer I have to enter a Token generated on github.
I use this plugin to install bower packages.

This happened after github.com/RamonSmit/Nestable.git became a private repo.
I removed all references to this repo.

But I still get the message:

Your GitHub credentials are required to fetch private repository metadata (git://github.com/RamonSmit/Nestable.git)

Head to https://github.com/settings/tokens/new?scopes=repo&description=… to retrieve a token. It will be stored in “…” for future use by Composer. Token (hidden):

I updated composer and composer-asset-plugin to the latest version and cleared the cache.

This also didn’t work:

JavaScript

How can I get rid of this unnecessary message?

Output of composer diag:

JavaScript

auth.json: (located in C:UsersUserAppDataRoamingComposer)

JavaScript

composer global show -i

JavaScript

composer.json:

JavaScript

composer.lock

Advertisement

Answer

You should generate new tokens on github

Settings  Developer settings  Personal access tokens
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement