1

I've recently re-provisioned my development box, and went to run a drush command but was met with

Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md

I then tested to see if Composer was installed and found it was (version 1.0.3).

Would anyone know what I can do here?

  • How did you test to see if composer was installed? Drush doesn't think it is so maybe it's not in your path – Clive Jan 31 '17 at 7:49
  • I just typed composer and it spat out the information. – MeltingDog Jan 31 '17 at 22:24
0

There is a Drupal core isssue about this: Catch error(s) from composer install not being run and return friendly error.

tl;dr

Basically, you need to run composer install from inside your docroot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.