Pages

14 September, 2024

Error when i run commend php composer dump-autoload

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi



Error


Class "Composer\InstalledVersions" not found


at vendor/maatwebsite/excel/src/Cache/CacheManager.php:43
39▕ * @return MemoryCache
40▕ */
41▕ public function createMemoryDriver(): CacheInterface
42▕ {
➜ 43▕ if (!InstalledVersions::satisfies(new VersionParser, 'psr/simple-cache', '^3.0')) {
44▕ return new MemoryCacheDeprecated(
45▕ config('excel.cache.batch.memory_limit', 60000)
46▕ );
47▕ }
+11 vendor frames



12 artisan:35
Illuminate\Foundation\Console\Kernel::handle()


Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1


I tried to change databass password and server

No comments:

Post a Comment

Thanks