Corbin
4 months ago

Composer: file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known failed to open stream:

Posted 4 months ago by Corbin

I'm trying to run composer require laravel/ui --dev and I keep getting:

The "https://repo.packagist.org/packages.json" file could not be downloaded: failed to open stream: Operation timed out Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info

The "http://repo.packagist.org/p/provider-6.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

[Composer\Downloader\TransportException] The "http://repo.packagist.org/p/laravel/ui%24687d9aece51281fb3e1f474fc56d17c91950485e557 c29774d39ed244b54b288.json" file could not be downloaded: php_network_getaddresses: getad drinfo failed: nodename nor servname provided, or not known failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servnam e provided, or not known

Does anyone know what's going on and how to fix this? I just installed php 7.2 using brew. So it could be something there, but I'm really not sure.

Please sign in or create an account to participate in this conversation.