的Symfony 2.4Symfony的2发生错误执行时 “作曲家安装” 命令
当我运行composer install
我看到这样的错误:
Generating autoload files
Fatal error: Class 'Doctrine\ORM\Tools\Console\Command\ClearCache\CollectionRegionCommand' not found in /Users/vpx/www/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Command/Proxy/CollectionRegionDoctrineCommand.php on line 29
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
从"doctrine/orm": "~2.2,>=2.2.3"
在composer.json更改后"doctrine/orm": "~2.2.3"
好吧。这是为什么?
如果可以避免使用分支,请勿使用分支。这会让事情变得更糟。 – Sven