I can't uninstall modules with Drush master-branch and almost no data on Google When navigating to my sites' folder and typing drush pmu admin_menu or otherwise drush pm-uninstall admin_menu in drush master branch I get:


  Command pm-uninstall needs a higher bootstrap level to run - you will
  need to invoke drush from a more functional Drupal environment to run
  this command.


I found only 3 discussions in Google, touching this in relation to Drupal 7 (dev or fresh).


I should note that another command, drush cr (cache-rebuild) works
just fine.


Drush status:

C:\wamp\www\sname&gt;drush status
 Drupal version         :  8.0.0
 Site URI               :  http://default
 Database driver        :  mysql
 Database hostname      :  localhost
 Database port          :  3306
 Database username      :  sname
 Database name          :  sname
 PHP executable         :  php.exe
 PHP configuration      :  C:\wamp\bin\php\php5.5.12\php.ini
 PHP OS                 :  WINNT
 Drush script           :  C:\drush-master\drush.php
 Drush version          :  8.1-dev
 Drush temp directory   :  C:\Users\Beni\AppData\Local\Temp
 Drush configuration    :
 Drush alias files      :
 Drupal root            :  C:\wamp\www\sname
 Site path              :  sites/default
 Sync config path       :  sites/default/files/config_mkuaR5uFQ7VCjh1_FFBuZzWXkUsz-sA7Klv4HO_2yLJG33wfJJabdavO7QKzyIRWiQoWA3IJbg/sync


C:\wamp\www\sname>

Drush sql-conf

C:\wamp\www\sname&gt;drush sql-conf
Array
(
[database] =&gt; sname
[username] =&gt; sname
[prefix] =&gt; Array
    (
        [default] =&gt;
    )

[host] =&gt; localhost
[port] =&gt; 3306
[namespace] =&gt; Drupal\Core\Database\Driver\mysql
[driver] =&gt; mysql
The problem is not with Drush is with admin_menu. This is a bug on admin_menu not been ready. See more about this - admin_menu has broken d8-beta11 and i cant pm-uninstall

How to solve it ?


  (note, deleting the module rm -r modules/admin_menu and rebuilding
  cache brings the site back)


Source 

Steps by Step Instructions


Open your terminal
Change directory to you root Drupal 8 core
Then remove the admin_menu project and then clear the cache.
rm -rf modules/admin_menu # Remove the directory.
drush cr # This will clear the cache


admin_menu is not ready, I will recommend you to use admin_toolbar for now.