Errors encountered with Composer

Source: Internet
Author: User
Tags autoloader
{Code...} has been resolved .. The host cannot be found, and the hosts can be modified.
 - Installing phpunit/php-timer (1.0.7)    Downloading: 100%    Downloading: 100%    Downloading: 100%    Failed to download phpunit/php-timer from dist: The "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolutionfailed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution    Now trying to download from source  - Installing phpunit/php-timer (1.0.7)    Cloning 3e82f4e9fc92665fafd9157568e4dcb01d014e5b  [RuntimeException]  Failed to clone git@github.com:sebastianbergmann/php-timer.git via git, https, ssh protocols, aborting.  - git://github.com/sebastianbergmann/php-timer.git    fatal: Unable to look up github.com (port 9418) (Temporary failure in name resolution)  - https://github.com/sebastianbergmann/php-timer.git    error: Couldn't resolve host 'github.com' while accessing https://github.com/sebastianbergmann/php-timer.git  /info/refs    fatal: HTTP request failed  - git@github.com:sebastianbergmann/php-timer.git    ssh: Could not resolve hostname github.com: Temporary failure in name resolution    fatal: The remote end hung up unexpectedlyinstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [
  
   ]...
  

Solved .. The host cannot be found, and the hosts can be modified.

Reply content:
 - Installing phpunit/php-timer (1.0.7)    Downloading: 100%    Downloading: 100%    Downloading: 100%    Failed to download phpunit/php-timer from dist: The "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolutionfailed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution    Now trying to download from source  - Installing phpunit/php-timer (1.0.7)    Cloning 3e82f4e9fc92665fafd9157568e4dcb01d014e5b  [RuntimeException]  Failed to clone git@github.com:sebastianbergmann/php-timer.git via git, https, ssh protocols, aborting.  - git://github.com/sebastianbergmann/php-timer.git    fatal: Unable to look up github.com (port 9418) (Temporary failure in name resolution)  - https://github.com/sebastianbergmann/php-timer.git    error: Couldn't resolve host 'github.com' while accessing https://github.com/sebastianbergmann/php-timer.git  /info/refs    fatal: HTTP request failed  - git@github.com:sebastianbergmann/php-timer.git    ssh: Could not resolve hostname github.com: Temporary failure in name resolution    fatal: The remote end hung up unexpectedlyinstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [
  
   ]...
  

Solved .. The host cannot be found, and the hosts can be modified.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.