Whatever command I run using ddev drush , I am always getting the response " [preflight] Package "drupal/core" is not installed". But drupal is already installed and website is working fine.

  • What is your question?
    – mona lisa
    Commented Aug 17, 2023 at 19:29
  • 1
    Try running ddev composer install
    – Jaypan
    Commented Aug 17, 2023 at 20:28
  • Is the whole site working fine? I have the same problem and when I try to enable a module it fails with this same error Commented Sep 25, 2023 at 17:37
  • Is drush/drush installed in the Drupal codebase?
    – mona lisa
    Commented Sep 25, 2023 at 17:49
  • drush/drush is already installed in the codebase. If we run ddev ssh and then run vendor/bin/drush everything works well. Commented Sep 26, 2023 at 19:34


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.