On my Mac Mini running OS X 10.11, I installed Acquia Dev Desktop 2 which comes with Drush 8.0.0 rc1. I created a local site which uses Drupal 8, and all went fine; the only problem is that for every Drush command I try, I get an error about a wrong placeholder; the error message gets repeated enough times to make the console output scroll up. For example, with drush status
, I get the following error messages:
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !other FormattableMarkup.php:240
Invalid placeholder: !fields FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !type FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
Invalid placeholder: !default FormattableMarkup.php:240
The command then executes normally, giving me the following output:
Drupal version : 8.0.0
Site URI : http://default
Database driver : mysql
Database hostname : 127.0.0.1
Database port : 33067
Database username : drupaluser
Database name : tero
Drupal bootstrap : Successful
Drupal user :
Default theme : bartik
Administration theme : seven
PHP executable : /Applications/DevDesktop/php5_5/bin/php
PHP configuration : /Applications/DevDesktop/php5_5/bin/php.ini
PHP OS : Darwin
Drush script : /Applications/DevDesktop/drush/vendor/drush/drush/drush.php
Drush version : 8.0.0-rc1
Drush temp directory : /tmp
Drush configuration : /Applications/DevDesktop/drush/vendor/drush/drush/drushrc.php
Drush alias files : /Users/kiamlaluno/.acquia/DevDesktop/Drush/Aliases/aliases.drushrc.php
Install profile : standard
Drupal root : /Users/kiamlaluno/Sites/devdesktop/tero
Site path : sites/default
File directory path : sites/default/files
Temporary file directory path : /tmp
Sync config path : sites/tero.dd/files/config_05LkLxb13V9Aql8lLTwnzSDjZKUwSM1QqJosn6985ubZ7AvwwnV1j8I6FHt qunj1liphJjAVpw/sync
Still, I would like to avoid these error messages.
How do I update Drush without installing it globally?
I don't want to install it globally because I am using the console Acquia Dev Desktop opens for me, and its Drush takes the precedence over any other command.
cd /path/to/drush; git pull; composer install
, or whatever slight variation makes sensels -al (which drush)
@kiam, that'll tell you where it's executing.cd
to that folder, then run the other commands. If it's inside an OSX package that's fine, the command line doesn't treat those any differently to a normal folder