I try to install sonata admin user bundle in symfony 4 project:
composer create-project symfony/website-skeleton my-project composer require sonata-project/admin
There is already an issue reported on their github, you can find the solution to your problem here :
https://github.com/sonata-project/SonataAdminBundle/issues/4910#issuecomment-360587312