Skip to content

There are no commands defined in the "doctrine:fixtures" namespace. #42

@veikoon

Description

@veikoon

Votix/.env

Line 17 in 56b4d9d

APP_ENV=prod

docker-compose run --rm votix make install_dev

php bin/console doctrine:fixtures:load --no-interaction

                                                                                                                                                 
  There are no commands defined in the "doctrine:fixtures" namespace.                                                                            
                                                                                                                                                 
  Did you mean one of these?                                                                                                                     
      doctrine                                                                                                                                   
      doctrine:cache                                                                                                                             
      doctrine:database                                                                                                                          
      doctrine:mapping                                                                                                                           
      doctrine:migrations                                                                                                                        
      doctrine:query                                                                                                                             
      doctrine:schema                                                                                                                            
                                                                                                                                                 
  You may be looking for a command provided by the "DoctrineFixturesBundle" which is currently not installed. Try running "composer require doc  
  trine/doctrine-fixtures-bundle --dev".                                                                                                         
                                                                                                                                                 

make[1]: *** [Makefile:9: reset] Error 1
make[1]: Leaving directory '/srv'
make: *** [Makefile:14: install_dev] Error 2

Par défaut l'environnement est configuré en prod dans le fichier .env mais le Makefile lance une installation en environnement de dev.
--> Mettre l'env dev par défaut. Ajouter une référence vers le wiki https://github.com/ClubNix/Votix/wiki/Configuring-Votix pour les modifications à faire si env en prod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions