1

我尝试按照https://github.com/brunogaspar/laravel4-starter-kit中的说明安装 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]

知道为什么我会收到此错误吗?

4

1 回答 1

1

重新启动相同的命令:

php composer.phar install
于 2013-05-02T14:10:08.493 回答