-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail with Installation through Composer on Ubuntu 16.04 #2410
Comments
Can you paste the output of |
Initially, I installed the standard variant which was offered me from a command line. PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS ) |
Greg has answered this on SO:
Let's make this a feature request (separate ticket?): |
Maybe add comment to #1371 |
It works for me. I agree that a separate ticket will be useful. |
I use an official instruction
http://www.drush.org/en/master/install-alternative/#install-a-global-drush-via-compose
Chapter: Install Drush for all users via Composer
I get this errors list:
root@Desktop:/opt/drush-8.x# drush
PHP Fatal error: Uncaught ReflectionException: Class DOMDocument does not exist in /opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php:24
Stack trace:
#0 /opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php(24): ReflectionClass->isSubclassOf('DOMDocument')
#1 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(339): Consolidation\OutputFormatters\Transformations\DomToArraySimplifier->canSimplify(Object(ReflectionClass))
#2 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(177): Consolidation\OutputFormatters\FormatterManager->canSimplifyToArray(Object(ReflectionClass))
#3 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(172): Consolidation\OutputFormatters\FormatterManager->isValidDataType(Object(Consolidation\OutputFormatters\Formatters\StringFormatter), Object(ReflectionClass))
#4 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterM in /opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php on line 24
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Uncaught ReflectionException: Class DOMDocument does not exist in
/opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php:24
Stack trace:
#0 /opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php(24):
ReflectionClass->isSubclassOf('DOMDocument')
#1 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(339):
Consolidation\OutputFormatters\Transformations\DomToArraySimplifier->canSimplify(Object(ReflectionClass))
#2 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(177):
Consolidation\OutputFormatters\FormatterManager->canSimplifyToArray(Object(ReflectionClass))
#3 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterManager.php(172):
Consolidation\OutputFormatters\FormatterManager->isValidDataType(Object(Consolidation\OutputFormatters\Formatters\StringFormatter),
Object(ReflectionClass))
#4 /opt/drush-8.x/vendor/consolidation/output-formatters/src/FormatterM in
/opt/drush-8.x/vendor/consolidation/output-formatters/src/Transformations/DomToArraySimplifier.php, line 24
root@Desktop:/opt/drush-8.x#
The text was updated successfully, but these errors were encountered: