Closed suresh-kumara-gist closed 6 years ago
Seems like Composer is freaking out for some reason. Try composer run-script nuke
, or if that doesn't work, manually remove your vendor directory, your lock file, and run composer clear-cache
, then run composer update again
.
@suresh-kumara-gist Did @danepowell's suggestion resolve your issue?
thanks for the reply @danepowell.
I manually removed vendor directory, lock file, and run composer clear-cache, then run composer update again, But din't work for me.
I edited this file /usr/local/var/www/myinstance/vendor/composer/autoload_real.php and added
if (file_exists($file)) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
}
}
after that run again $ composer require acquia/blt:^8.9.11 --no-update && composer update
worked well for me.
Can confirm removing composer's vendor directory and reinstalling the site dependencies works.
$rm -rf vendor && composer install
Can second @kalevitan. Worked fine and restored site to status quo ante.
My system information:
When I run this command: composer require acquia/blt:^8.9.11 --no-update && composer update
I get the following output: