Open Dropa opened 1 year ago
Update:
Looks like the error is relatively small. If running the command in project root (at least in drupal-project based) it's the only case this will fail.
~/projects/drupal/misc $ ~/.config/composer/vendor/bin/drupal-check vanilla/web/core/modules/history
works
~/projects/drupal/misc/vanilla $ ~/.config/composer/vendor/bin/drupal-check web/core/modules/history
doesn't work
~/projects/drupal/misc/vanilla/web $ ~/.config/composer/vendor/bin/drupal-check core/modules/history
works
How is drupal-check installed?
drupal-check is installed globally via Composer
Environment:
Describe the bug
Looks like Drupal 10 comes with additional dependencies that doesn't play nicely along with global installation.
Was able to reproduce as minimal as https://github.com/drupal-composer/drupal-project
https://github.com/wodby/docker4drupal
globally requiring drupal-check in the
php
containerConsole output