Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294268

Fresh composer install failing due to missing extensions

$
0
0

I seem to be getting errors on a fresh install. Just to be clear, there is no database set up and the errors are halting the installation process.

I installed with composer create-project:

composer create-project drupal-composer/drupal-project:8.x-dev drupal --prefer-dist --stability dev --no-interaction    

When I browse to the local site, the install page is broken and I get this error:

TypeError: Argument 1 passed to Drupal\Core\Extension\ThemeHandler::addTheme() must be an instance of Drupal\Core\Extension\Extension, null given, called in /var/www/drupalvm/drupal/web/core/includes/theme.maintenance.inc on line 72 in /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Extension/ThemeHandler.php on line 115 #0 /var/www/drupalvm/drupal/web/core/includes/theme.maintenance.inc(72): Drupal\Core\Extension\ThemeHandler->addTheme(NULL)

If seems like a fairly fundamental problem. If I comment out drupal_maintenance_theme() it fails further down when it tries and fails to load profiles. From having a quick poke about in the code it looks like it's just failing to find extensions.

The same happens if I try to perform a site install with drush. I also tried the quick start and just got the error " [ERROR] 'standard' is not a valid install profile. " which I'm assuming is probably the same thing. I'm running this inside a fairly vanilla DrupalVM.

I've had a look around and there were a few issues that touched on similar things but they seemed to be fixed and/or applied to updating rather than a fresh-out-of-the-box install.

Anyone got any ideas what might be going wrong?

Thanks.


Viewing all articles
Browse latest Browse all 294268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>