Hello,
we have the following problem with the DoctrineFixturesBundle when we want to install our project on our live server.
When we run for example composer install --env=prod --no-dev and after this the cache:clear script in composer.json gets executed we get the following error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! // Clearing the cache for the prod environment with debug false
!!
!! In AbstractRecursivePass.php line 179:
!!
!! Invalid service "App\DataFixtures\AppFixtures": class "Doctrine\Bundle\FixturesBundle\Fixture" not found while loading "App\DataFixtures\AppFixtures".
!!
!!
!! cache:clear [--no-warmup] [--no-optional-warmers]
!!
!!
Script @auto-scripts was called via post-install-cmd
Hello, we have the following problem with the DoctrineFixturesBundle when we want to install our project on our live server. When we run for example
composer install --env=prod --no-dev
and after this the cache:clear script in composer.json gets executed we get the following error:Our composer.json
The problem exist also when we create a fresh new symfony project.