Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi all, While running the below command for the backend APIs (PHP Version: *7.4.20*): ```composer re

Options
U03PF6138LV
U03PF6138LV Posts: 12 🧑🏻‍🚀 - Cadet

Hi all,
While running the below command for the backend APIs (PHP Version: 7.4.20):

composer require spryker/api:"^0.4.0" --update-with-dependencies

I am facing this issue/error:

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Finder\Glob' not found in /data/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:48

Comments

  • U03PF6138LV
    U03PF6138LV Posts: 12 🧑🏻‍🚀 - Cadet
    Options
    PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Finder\Glob' not found in /data/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:48
    Stack trace:
    #0 /data/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php(41): Symfony\Component\Finder\Iterator\FilenameFilterIterator->toRegex('.DS_Store')
    #1 /data/vendor/symfony/finder/Finder.php(757): Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator->__construct(Object(Symfony\Component\Finder\Iterator\DepthRangeFilterIterator), Array, Array)
    #2 /data/vendor/symfony/finder/Finder.php(618): Symfony\Component\Finder\Finder->searchInDirectory('/data/vendor/co...')
    #3 [internal function]: Symfony\Component\Finder\Finder->getIterator()
    #4 /data/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php(141): iterator_to_array(Object(Symfony\Component\Finder\Finder))
    #5 /data/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php(185): Composer\Downloader\ArchiveDownloader->Composer\Downloader\{closure}('/data/vendor/co...')
    #6 / in /data/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 48
    
    Fatal error: Uncaught Error: Class 'Symfony\Component\Finder\Glob' not found in /data/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:48
    Stack trace:
    #0 /data/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php(41): Symfony\Component\Finder\Iterator\FilenameFilterIterator->toRegex('.DS_Store')
    #1 /data/vendor/symfony/finder/Finder.php(757): Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator->__construct(Object(Symfony\Component\Finder\Iterator\DepthRangeFilterIterator), Array, Array)
    #2 /data/vendor/symfony/finder/Finder.php(618): Symfony\Component\Finder\Finder->searchInDirectory('/data/vendor/co...')
    #3 [internal function]: Symfony\Component\Finder\Finder->getIterator()
    #4 /data/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php(141): iterator_to_array(Object(Symfony\Component\Finder\Finder))
    #5 /data/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php(185): Composer\Downloader\ArchiveDownloader->Composer\Downloader\{closure}('/data/vendor/co...')
    #6 / in /data/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 48