Problem installing sonata-project / doctrine-orm-admin-bundle

0

I hope that someone can help me in this, thank you in advance

Well, I'm trying to use sonata-project for the login in symfony (it is mandatory for the project), the case is that following the steps I must, before using sonata-project/admin-bundle that is already installed, run composer require sonata-project/doctrine-orm-admin-bundle . This works for me:

:\xampp\htdocs\demo>composer require sonata-project/doctrine-orm-admin-bundle
Using version ^3.4 for sonata-project/doctrine-orm-admin-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

Prefetching 4 packages
  - Downloading (100%)

Package operations: 5 installs, 0 updates, 0 removals
  - Installing symfony/doctrine-bridge (v3.4.4): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing doctrine/dbal (v2.6.3): Loading from cache
  - Installing doctrine/orm (v2.6.0): Loading from cache
  - Installing sonata-project/doctrine-orm-admin-bundle (3.4.2): Loading from cache
Writing lock file
Generating autoload files
Symfony operations: 1 recipe (14ec3aa30a070d21e063bd4513beec16)
  - Configuring sonata-project/doctrine-orm-admin-bundle (>=3.4.2): From auto-generated recipe
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 32:
!!
!!    The service "sonata.admin.manager.orm" has a dependency on a non-existent service "doctrine".
!!
!!
!!

Installation failed, reverting ./composer.json to its original content.

Symfony 3.3 on windows.

What can I do?

    
asked by DianaDiana 28.02.2018 в 05:25
source

0 answers