'"composer install" on the docker container error - UnexpectedValueException Your github oauth token for github.com [duplicate]
Do you know why it shows this error when running composer install? I already tried a lot of commands but nothing is working.
[UnexpectedValueException]
Your github oauth token for github.com contains invalid characters: "ghp_..."
I also tried to add on the auth.json file using http-basic but still doesn't work:
{
"http-basic": {
"github.com": {
"username": "...",
"password": "ghp_..."
}
}
}
Solution 1:[1]
You should install git, and zip packages inside the container
apt-get update && apt-get install -y git zip
This way, you will not get the token requirement.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | JoeGalind |
