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>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>drush sql-conf
Array
(
[database] => sname
[username] => sname
[prefix] => Array
(
[default] =>
)
[host] => localhost
[port] => 3306
[namespace] => Drupal\Core\Database\Driver\mysql
[driver] => mysql
drush cr
?drush status
anddrush sql-conf
. The error message you are seeing means that Drush cannot find the configuration for your Drupal site. You should run Drush from the same folder that settings.php is located in.