In preparation for upgrading to Drupal10, I want to upgrade lightning_media to 4.10, my current version is 4.6. I used the following command:
composer require 'drupal/lightning_media:^4.10'
But will get an error:
Generating autoload files
In ClassMapGenerator.php line 129:
Could not scan for classes inside "/var/www/myproject/vendor/drupal/lightning_api/src/LightningApiServiceProvider.php" which does not appear to be a file nor a folder
In addition, if any composer command is used again, an error will be reported:
In AutoloadGenerator.php line 1344:
require(/var/www/myproject/vendor/drupal/core/includes/bootstrap.inc): Failed to open stream: No such file or directory
I've been stuck on this problem for two days, can someone help me out?
Active
4.10
Code