Problem/Motivation
Drupal 9.02
"drupal/flexslider": "^2.0"
Deprecation warning: require.woocommerce/FlexSlider is invalid, it should not contain uppercase characters. Please use woocommerce/flexslider instead. Make sure you fix this as Composer 2.0 will error.
Steps to reproduce
Add to composer.json
{
"type": "package",
"package": {
"name": "woocommerce/FlexSlider",
"version": "2.7.2",
"type": "drupal-library",
"extra": {
"installer-name": "flexslider"
},
"dist": {
"url": "https://github.com/woocommerce/FlexSlider/zipball/master",
"type": "zip"
}
}
}
and install
composer require woocommerce/flexslider
Using version ^2.7 for woocommerce/FlexSlider
./composer.json has been updated
Deprecation warning: require.woocommerce/FlexSlider is invalid, it should not contain uppercase characters. Please use woocommerce/flexslider instead. Make sure you fix this as Composer 2.0 will error.
Proposed resolution
better guide so all will work as expected
Changing to composer require woocommerce/flexslider
Comments
Comment #2
amaria CreditAttribution: amaria commentedNot sure what version of the module you're using but the README was already changed to reflect the lowercase library name in both the require and the repository section. However, in the next commit I will change it from woothemes to woocommerce.
Comment #4
amaria CreditAttribution: amaria commentedComment #5
Rar9 CreditAttribution: Rar9 commentedChanges according to readme
but Composer 2.x still complains with d9.1