eeds requires the library "laminas/laminas-feed", even though library is present in the vendor folder

Created on 31 October 2024, about 2 months ago

Problem/Motivation

After using composer to add the module:
- Installing laminas/laminas-stdlib (3.20.0): Extracting archive
- Installing laminas/laminas-escaper (2.14.0): Extracting archive
- Installing laminas/laminas-feed (2.23.0): Extracting archive
- Installing drupal/feeds ( dev-3.x): Extracting archive
When trying to activate the module:
Feeds requires the library "laminas/laminas-feed". You can install it with Composer or by using the Ludwig module.

I checked the vendor folder on the site and it does indeed have a laminas folder with the laminas-feeds inside, so it is all there.
drush cr
Still same error.

Any help would be greatly appreciated.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada avo webworks Ottawa, Ontario, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @avo webworks
  • 🇳🇱Netherlands megachriz

    This could be a Composer issue. I don't know a lot about fixing Composer related problems. One thing that helped me sometimes when I faced a Composer related issue like this, is deleting the vendor library ("laminas" in this case) and the module directory ("feeds" in this case) and then try again with either composer install or composer update drupal/feeds.

    Note that on the automated test runner, Feeds installs fine with laminas/laminas-feed (2.23.0), so that's why I think it is more likely to be a Composer issue than a Feeds issue. See https://git.drupalcode.org/project/feeds/-/jobs/3183360

    To be certain, the "laminas/laminas-feed" is installed the site's vendor directory? Thus in site/vendor, not in site/web/modules/contrib/feeds/vendor?

  • 🇨🇦Canada avo webworks Ottawa, Ontario, Canada

    Indeed thank you @megachriz it was a composer issue, and I was able to uninstall remove the vendor folder and reinstalled just fine.

    Much appreciate your comment that identified where I needed to look!

  • 🇨🇦Canada avo webworks Ottawa, Ontario, Canada
  • having the same issue, everything seems to install fine through composer ( Installing laminas/laminas-stdlib (3.20.0): Extracting archive), but when i try to activate feeds i get,
    error -feeds requires the library "laminas/laminas-feed". You can install it with Composer or by using the Ludwig module.
    tried deleting Laminas and feeds folders and reinstalling with composer but no change. any ideas?

  • 🇳🇱Netherlands megachriz

    @bobknocker
    That's a pity that you run into this, but I don't know why that happens. If you are on Drupal Slack, maybe could ask in the #composer channel?

Production build 0.71.5 2024