命令行上出现Symfony2错误

时间:2014-10-06 17:56:01

标签: symfony

当我尝试使用composer更新,或清除缓存或其他命令时:

    [Symfony\Component\Debug\Exception\ContextErrorException]                                                                                                                                                                                     
      Warning: file_put_contents(/vagrant/crm_neo/app/cache/dev/assetic/routing.yml): failed to open stream: No such file or directory in /vagrant/crm_neo/vendor/symfony/assetic-bundle/Symfony/Bundle/AsseticBundle/DependencyInjection/Compiler/RouterResourcePass.php line 43


Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception



  [RuntimeException]
  An error occurred when executing the "'cache:clear --no-warmup'" command.

我该怎么办?谢谢!

0 个答案:

没有答案