phpdocumentor/reflection

WBOY
Release: 2016-09-15 11:15:01
Original
1512 people have browsed it

Always reporting the same error, please tell me how to solve it

<code>rd@rd-G31M-ES2C:~/www/laravel-dev$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Downloading: Failed       
    Downloading: Failed       
    Downloading: Failed       
    Failed to download phpdocumentor/reflection-docblock from dist: The "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
    Now trying to download from source
  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Cloning d68dbdc53dc358a816f00b300704702b2eaff7b8

                                                                                                                         
  [RuntimeException]                                                                                                     
  Failed to clone https://github.com/phpDocumentor/ReflectionDocBlock.git via https, ssh protocols, aborting.            
  - https://github.com/phpDocumentor/ReflectionDocBlock.git                                                              
    Cloning into '/home/rd/www/laravel-dev/vendor/phpdocumentor/reflection-docblock'...                                  
    fatal: unable to access 'https://github.com/phpDocumentor/ReflectionDocBlock.git/': Could not resolve host: github.  
  com                                                                                                                    
  - git@github.com:phpDocumentor/ReflectionDocBlock.git                                                                  
    Cloning into '/home/rd/www/laravel-dev/vendor/phpdocumentor/reflection-docblock'...                                  
    ssh: Could not resolve hostname github.com: Temporary failure in name resolution                                     
    fatal: Could not read from remote repository.                                                                        
                                                                                                                         
    Please make sure you have the correct access rights                                                                  
    and the repository exists. 
</code>
Copy after login
<code>The "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
</code>
Copy after login

I can download this package directly from my browser, but I don’t know why composer can’t download it

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!