Я получил следующую ошибку, когда попытался запустить composer update
Я попытался сделать composer clear
, и это не помогло.Работает на моей локальной машине Windows, но не работает, я развернуть его на машине Centos.Я не запускаю laravel, просто композитор.
Мой файл composer.json:
{
"autoload": {
"psr-4": {
"App\\": "/",
"App\\includes\\": "/includes/"
},"classmap": [
"/",
"includes/"
]
},
"require": {
"gebn/brush": "^1.1",
"rap2hpoutre/similar-text-finder": "^1.0",
"sendgrid/sendgrid": "^7.2"
}
}
Журнал ошибок через -v
Exception trace:
() at phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:52
RecursiveDirectoryIterator->__construct() at phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:52
Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator->__construct() at phar:///usr/local/bin/composer/vendor/symfony/finder/Finder.php:809
Symfony\Component\Finder\Finder->searchInDirectory() at phar:///usr/local/bin/composer/vendor/symfony/finder/Finder.php:682
Symfony\Component\Finder\Finder->getIterator() at phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:80
Composer\Autoload\ClassMapGenerator::createMap() at phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:336
Composer\Autoload\AutoloadGenerator->generateClassMap() at phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:319
Composer\Autoload\AutoloadGenerator->addClassMapCode() at phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:266
Composer\Autoload\AutoloadGenerator->dump() at phar:///usr/local/bin/composer/src/Composer/Installer.php:303
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:162
Composer\Command\UpdateCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:241
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:843
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:193
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:254
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:103
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:56
require() at /usr/local/bin/composer:24