2017-05-16 149 views
1

好日子的人,我一直有這個問題的日子裏,當我嘗試使用作曲家我得到這個錯誤下載依賴我的PHP項目現在如何糾正[作曲下載 TransportException]錯誤作曲家

c:\wamp64\www\Test>composer global require "fxp/composer-asset-plugin:^1.3.1" 
Changed current directory to C:/Users/Nwachukwu Favour/AppData/Roaming/Composer 
./composer.json has been updated 
Loading composer repositories with package information 
Updating dependencies (including require-dev) 

Installation failed, reverting ./composer.json to its original content. 


    [Composer\Downloader\TransportException] 
    The "http://packagist.org/p/provider-2014%241cf88bd0ed4076dc091407477ba2a76483e8598ee5365673381262e6c1d40fcf.jso 
    n" file could not be downloaded: failed to open stream: HTTP request failed! 


require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]... 

我正在運行一個Windows 10操作系統,並懷疑我的系統無法從命令行下載。如果有人能幫我解決這個問題,我會很高興,因爲這會阻礙我的項目。提前致謝。

回答