I am getting "[Composer\Downloader\TransportException]" error when I run composer global require
.
But composer is installed successfully.
I am using php version 7.3.10
, composer 1.9.0
and Ubuntu 18.04
I am getting "[Composer\Downloader\TransportException]" error when I run composer global require
.
But composer is installed successfully.
I am using php version 7.3.10
, composer 1.9.0
and Ubuntu 18.04
It was IPv6 issue, I have fixed my IPv6 setup now everything is alright.
Step1:
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
After this command composer will work properly.