2013-04-18 175 views
1

我試圖根據https://github.com/brunogaspar/laravel4-starter-kit中的說明安裝laravel4。與作曲家安裝Laravel4依賴項時遇到問題

下載部分之後,我試圖做第2節包含:

cd your-folder 
    curl -s http://getcomposer.org/installer | php 
    php composer.phar install 

當我運行最後一個命令:

php composer.phar install 

我得到的輸出:

Loading composer repositories with package information 
Installing dependencies 
- Installing doctrine/lexer (dev-master bc0e1f0) 
    Cloning bc0e1f0cc285127a38c6c8ea88bc5dba2fd53e94 
- Installing doctrine/annotations (v1.1) 
Downloading:connection...                
[Composer\Downloader\TransportException]          
The "https://api.github.com/repos/doctrine/annotations/zipball/v1.1" file could not 
be downloaded (HTTP/1.0 500 Internal Server Error)          
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] 
[--no-custom-installers] [--no-scripts] [--no-progress] [-v|--verbose] 
[-o|--optimize-autoloader] 

任何想法爲什麼我得到這個錯誤?

+0

檢查一次,它可能是錯誤與連接:) – mkjasinski

回答

1

下重新啓動相同的命令:

php composer.phar install 
+0

謝謝 - 我試了幾次後取得了成功。 – user1980099