I am using Ubuntu 14.04 . When I try to download, enable, disable any module drush gives the following error:
Additional uncaught exception thrown while handling exception.
Original
Drupal\Core\DependencyInjection\ContainerNotInitializedException: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in Drupal::getContainer() (line 129 of /var/www/html/gitrepo/drupal/core/lib/Drupal.php).
Drupal::getContainer() drupal8_bootstrap(0) _drush_bootstrap_drupal_configuration() drush_bootstrap(3, 7) drush_bootstrap_max() drush_bootstrap_to_phase(-2) Drush\Boot\DrupalBoot->bootstrap_and_dispatch() drush_main()
Additional
Drupal\Core\DependencyInjection\ContainerNotInitializedException: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in Drupal::getContainer() (line 129 of /var/www/html/gitrepo/drupal/core/lib/Drupal.php).
Drupal::getContainer() Drupal::theme() _drupal_log_error(Array, 1) _drupal_exception_handler(Object)
Drush command terminated abnormally due to an unrecoverable error. [error]
drush --version
? Can you post the command that produces that output (and give the folder location).