composer install D8.4.0 failed ?

Hello
I want to test D8.4.0.

Some time ago, I break a D8.0.0 ite with a drush upgrade…
Sevral people say me “oh, you must NOT use drush to upgrade ! Use Composer only !” …

So I begin to work with composer.
No problem until D8.3.7.

Now I want to install a NEW D8.4.0 (not upgrade, install in an empy folder)

I run :

composer create-project drupal-composer/drupal-project:8.x-dev public_html –stability dev –no-interaction

Seem fine…

But when I go on the site to configure it (DB, password…), ERROR :

Additional uncaught exception thrown while handling exception.

Original

TypeError: Return value of DoctrineCommonAnnotationsAnnotationRegistry::reset() must be an instance of DoctrineCommonAnnotationsvoid, none returned in DoctrineCommonAnnotationsAnnotationRegistry::reset() (line 55 of /home/d840/public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).

DoctrineCommonAnnotationsAnnotationRegistry::reset() (Line: 113)
DrupalComponentAnnotationPluginDiscoveryAnnotatedClassDiscovery->getDefinitions() (Line: 86)
DrupalComponentPluginDiscoveryDerivativeDiscoveryDecorator->getDefinitions() (Line: 283)
DrupalCorePluginDefaultPluginManager->findDefinitions() (Line: 174)
DrupalCorePluginDefaultPluginManager->getDefinitions() (Line: 109)
DrupalCoreRenderElementInfoManager->buildInfo('seven') (Line: 76)
DrupalCoreRenderElementInfoManager->getInfo('form') (Line: 806)
DrupalCoreFormFormBuilder->prepareForm('install_select_language_form', Array, Object) (Line: 272)
DrupalCoreFormFormBuilder->buildForm('install_select_language_form', Object) (Line: 890)
install_get_form('DrupalCoreInstallerFormSelectLanguageForm', Array) (Line: 1316)
install_select_language(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
Additional

TypeError: Return value of DoctrineCommonAnnotationsAnnotationRegistry::reset() must be an instance of DoctrineCommonAnnotationsvoid, none returned in DoctrineCommonAnnotationsAnnotationRegistry::reset() (line 55 of /home/d840/public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).

DoctrineCommonAnnotationsAnnotationRegistry::reset() (Line: 113)
DrupalComponentAnnotationPluginDiscoveryAnnotatedClassDiscovery->getDefinitions() (Line: 86)
DrupalComponentPluginDiscoveryDerivativeDiscoveryDecorator->getDefinitions() (Line: 283)
DrupalCorePluginDefaultPluginManager->findDefinitions() (Line: 174)
DrupalCorePluginDefaultPluginManager->getDefinitions() (Line: 109)
DrupalCoreRenderElementInfoManager->buildInfo('seven') (Line: 76)
DrupalCoreRenderElementInfoManager->getInfo('html') (Line: 298)
DrupalCoreRenderRenderer->doRender(Array, 1) (Line: 195)
DrupalCoreRenderRenderer->render(Array, 1) (Line: 139)
DrupalCoreRenderRenderer->DrupalCoreRender{closure}() (Line: 576)
DrupalCoreRenderRenderer->executeInRenderContext(Object, Object) (Line: 140)
DrupalCoreRenderRenderer->renderRoot(Array) (Line: 66)
DrupalCoreRenderBareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
DrupalCoreProxyClassRenderBareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 996)
install_display_output(Array, Array, Array) (Line: 264)
_drupal_log_error(Array, 1) (Line: 584)
_drupal_exception_handler(Object)

Why I cannot simply install a new D8.4.0 with Composer ?
What mistake I do ?

Thanks.
Didier

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/1/feed