#8 /app/vendor/drupal/console/bin/drupal(4): require('/app/vendor/dru.')Įrror: Call to undefined method Drupal\metatag\Command\GenerateTagCommand::getIo() in Drupal\metatag\Command\GenerateTagCommand->moduleQuestion() (line 46 of /app/vendor/drupal/console/src/Command/Shared/ModuleTrait.php).Īny idea what might be the issue? I've scoured the issue queue. #7 /app/vendor/drupal/console/bin/drupal.php(89): Symfony\Component\Console\Application->run() #6 /app/vendor/symfony/console/Application.php(148): Drupal\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 /app/vendor/drupal/console/src/Application.php(64): Drupal\Console\Core\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #4 /app/vendor/drupal/console-core/src/Application.php(185): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #3 /app/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(Drupal\metatag\Command\GenerateTagCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #2 /app/vendor/symfony/console/Application.php(964): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) ![]() #1 /app/vendor/symfony/console/Command/Command.php(236): Drupal\metatag\Command\GenerateTagCommand->interact(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) ![]() I am getting an error:Įrror: Call to undefined method Drupal\metatag\Command\GenerateTagCommand::getIo() in /app/vendor/drupal/console/src/Command/Shared/ModuleTrait.php on line 46 #0 /app/web/modules/contrib/metatag/src/Command/GenerateTagCommand.php(189): Drupal\metatag\Command\GenerateTagCommand->moduleQuestion(Object(Drupal\Console\Core\Style\DrupalStyle)) I'm trying to use Drupal Console to generate custom metatags. drupal chain –file=~/.console/chain/quick-start.Hi.# Move into the folder you want to install Drupal into, or the existing Drupal folder: This will provide suggestions for best use: # Check and validate system requirements. # Copy configuration files to user home directory: # Apply executable permissions on the downloaded file: Available commands: about Displays basic information about Drupal Console project chain Chain command execution cache - cache:rebuild (cr) Rebuild and. # If you can not execute the above command, you do not have admin access, using ” sudo mv drupal.phar /usr/local/bin/drupal ” should work on unix based systems. ![]() # Move the install so you can access it from anywhere on the system: ![]() # Download Drupal Console which contains cCmposer: Console automatically passes the requests to Composer.įrom the terminal command line running the following commands will install both Console and Composer together. While Composer can be used to add module dependencies in Drupal, it’s more practical to also use DrupalConsole to handle the process. One of our OSTraining members asked us about the best way to install Composer to manage dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |