Error: Class "DrupalCodeGenerator\Command\BaseGenerator" not found

Created on 5 February 2024, 11 months ago

When running Drush updates / deployments, the following error occurs:

Error: Class "DrupalCodeGenerator\Command\BaseGenerator" not found in include() (line 18 of /var/www/html/web/modules/contrib/ebt_core/src/Drush/Generators/EbtGenerator.php) #0 /var/www/html/vendor/composer/ClassLoader.php(576): include()

A similar issue was encountered with the Extra Field module in case this is helpful:
https://www.drupal.org/project/extra_field/issues/3315787 πŸ› Class "DrupalCodeGenerator\Command\BaseGenerator" not found RTBC

For now, I have attached a patch that removes the EbtGenerator.php file contents as these are specific to using drush generate.

πŸ› Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinb623

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024