drupal quick:start fails to complete when providing a relative path
undersound opened this issue · 0 comments
There's one thing I came across during installation with drupal quick:start
.
I noticed that for the installation to succeed I had to enter an absolute path during the question "Enter value for directory placeholder".
The value given there is handed over to composer create-project
which seems to work as the composer project does gets created but when the chain comes to the drupal site:install
command it executes drupal site:install standard --root=testfolder --db-type="sqlite" --no-interaction
which throws the following error message:
[ERROR] The command "drupal site:install standard --root=testfolder --db-type="sqlite"
--no-interaction" failed.
Exit Code: 1(General error)
Working directory: phar:///usr/local/bin/drupal/bin/../
Output:
================
[ERROR] Drupal Console is not installed at:
testfolder
You must execute the following composer commands:
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
Error Output:
================
Perhaps it's more clear for the user to either:
a. make it more clear that one should provide an absolute path during that question or
b. make sure the site:installer will run succesfully when a relative path is given