2016-12-07 65 views
0

如何解決下面的錯誤當每次如何修復作曲[作曲下載 TransportException]錯誤

/*// composer Error 
[Composer\Downloader\TransportException] 
    The "http://packagist.org/p/provider-2013%24fc1e20eb7ce69e30c5619d2a9d79fe3 
    441318692407fc723631fb16e38063890.json" file could not be downloaded: faile 
    d to open stream: A connection attempt failed because the connected party d 
    id not properly respond after a period of time, or established connection f 
    ailed because connected host has failed to respond. 

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] 
[--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no 
-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] 
[-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--pre 
fer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]... */ 
+0

您正在使用哪個作曲家的版本? – Federkun

+0

我使用的作曲家版本是1.2.4 – Murugan

回答

0

添加在composer.json庫更新作曲家的工作對我來說

{ 「庫 「:[{ 」packagist「:假 },{ 」類型「: 」作曲家「, 」URL「:」 https://packagist.org/ 「 }], 」需要「:{}, 」 需要-d ev「:{ 」phpunit/phpunit「:」*「 } }