我已经下载(克隆)了phpdocumentor 2的github版本,并按照phpdoc website
上的安装说明进行操作在作曲家安装步骤3(php composer.phar install
)中,我收到以下错误消息
[RuntimeException]
Failed to clone http://github.com/symfony/Console via git, https and http protocols, aborting.
- git://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
- https://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
- http://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
似乎symfony git树已经改变,或者......?你知道如何解决它吗?
答案 0 :(得分:2)
这可能是更新控制台子树拆分时的错误。请使用php composer.phar update
代替安装。这应该可以解决这个问题。