- 🇧🇷Brazil varod-br São Paulo
I was still getting this error with 1.0.0-rc4 (Drupal 9.5.9 / PHP 8.1.24):
Error: Class "Drupal\component\Plugin\Derivative\DeriverBase" not found em include() (line 13 of /docroot/modules/contrib/component/src/Plugin/Derivative/ComponentBlockDeriver.php) #0 /vendor/composer/ClassLoader.php(576): include() #1 /vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/mnt/www/html/s...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\componen...') #3 /docroot/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(217): class_exists('Drupal\\componen...') #4 /docroot/core/lib/Drupal/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecorator.php(20): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDeriverClass(Array) #5 /docroot/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(99): Drupal\Core\Plugin\Discovery\ContainerDerivativeDiscoveryDecorator->getDeriver('component', Array) #6 /docroot/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array)
So I created this patch. Maybe it's not right, but due the ambiguity with the project name and the core Component class, it seems to solve the problem.
Best! (sorry if should be done through a new issue or in other way)