New Symfony 3 installation: Could not open input file: app/console in composer install

前端 未结 4 969
深忆病人
深忆病人 2020-12-07 00:13

I installed a fresh symfony3-instance via the official symfony-installer (http://symfony.com/download). After doing the first things, I commited the project to Git and clone

4条回答
  •  隐瞒了意图╮
    2020-12-07 01:07

    I had the same problem:

    [RuntimeException]
    An error occurred when executing the ""cache:clear --no-warmup"" command:
    
    Could not open input file: app/console
    

    My console file is in /bin/ folder too so I had to call this from root of project to clear the cache each time I clone the project from DevOps:

    php bin/console cache:clear
    

    Afterwards I can run composer install and it works fine

提交回复
热议问题