Skip to content
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

drupal quick:start fails to complete when providing a relative path #133

Open
undersound opened this issue Sep 28, 2017 · 0 comments
Open

Comments

@undersound
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant