简体   繁体   中英

Composer not updating all of a sudden

The only thing I remember doing different was canceling a composer update command before it started updating any dependencies.

I get this error if I try composer self-update :

[Composer\Downloader\TransportException]
The "https://getcomposer.org/versions" file could not be downloaded:
php_network_getaddresses: getaddrinfo failed: Name or service not known
failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or
service not known

I'm guessing it's an issue with composer itself.

EDIT: composer diag fails on 3 things: http connectivity to packagist, github.com oauth access, and checking composer version.

我重新启动计算机并对其进行了修复...该应用程序在Docker容器上运行,因此也许只是重新启动容器本身会有所帮助,但我想一直坚持下去。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM