I have installed a Drupal 8.0.0 local test site in Windows 7 and I am trying to install Devel via Composer, running: composer require drupal/devel:^4.1
. I get the following message in the command line:
Loading "composer/installers" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x. wikimedia/composer-merge-plugin contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins Do you trust "wikimedia/composer-merge-plugin" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
[Symfony\Component\Console\Exception\RuntimeException] Aborted
The command-line on the other hand, doesn't give me any user input ability in order to input an answer to the 'Do you trust...' question.
I have tried to remove the
"require": {
"composer/installers": "^1.0.21",
"wikimedia/composer-merge-plugin": "~1.3"
}
entry and the
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true
}
entry from the 'config' key, from composer.json (in the project root directory), but it still doesn't solve the problem.
I would appreciate any help on this.