---
title: "Drupal files are not present in the correct location"
date: "2024-06-06T19:49:39+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92436-drupal-files-are-not-present-correct-location"
id: "811af798-7427-468c-8793-d64853b92eb3"
---

### Issue:

Sometimes you may encounter when you running composer commands, Drupal file are not present in their correct location. The symptoms associated with this issue are:

*   Drupal core and modules being present in the vendor/drupal directory rather than docroot
*   Errors such as \`Error: Failed opening required /app/vendor/drupal/../vendor/acquia/blt/settings/blt.settings.php\`, where "vendor" is in the filepath twice and "drupal" is a subdirectory of vendor
*   DRUPAL\_ROOT being set to a path containing vendor, such as vendor/drupal.

### Resolution:

To avoid this issue we always recommend to follow [Installing a Drupal distribution](/node/56147) .   
Drupal Console depends on the Composer Installers package. Composer Installers is critical for any D9/D10 application to function correctly. If you don't require composer/installers in your root composer.json and you uninstall drupal/console, your application will break in unexpected ways. The solution is simply to composer require "composer/installers:^1.9".