weknowinc / drupal-console-develop

1 stars 14 forks source link

error to install the version 0.5.8 #38

Open nequeteme opened 5 years ago

nequeteme commented 5 years ago

I can't install version 0.5.8

Problem 1

  • The requested package drupal/console-develop 0.5.8 exists as drupal/console-develop[0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.6, 0.5.7, dev-master] but these are rejected by your constraint.

I think the error it's on the "type": "drupal-console-library", of composer.json this is a new type and it needs an installing package of that type

this type is needs by drupal-console-extend-plugin on https://github.com/hechoendrupal/drupal-console-extend-plugin/blob/master/src/Extender.php#L69 to load the console.services.yml and console.config.yml

I will test adding the "installer-paths" on the composer.json

nequeteme commented 5 years ago

after adding to composer.json "extra": { "installer-paths": { "vendor/drupal/{$name}": ["type:drupal-console-library"] } }

and run "composer update --lock" and I have this error

[InvalidArgumentException]
Package type "drupal-console-library" is not supported

I will look this documentation https://getcomposer.org/doc/articles/custom-installers.md#creating-an-installer