Problem/Motivation
While installing the package using the below composer command and unable to download drupal/feed packages.
composer require 'drupal/feeds:^3.0@beta'
Problem 1
- Root composer.json requires drupal/feeds, it could not be found in any version, there may be a typo in the package name.
Composer version 2.5.5
Steps to reproduce
In the project folder, run the composer require command and you will see the errors.
composer require 'drupal/feeds:^3.0@beta'
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/feeds, it could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it
Read for further common problems.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Proposed resolution
The Drupal feeds module package and valid version are not available on packagist.org. It should be available and it can be downloaded via Composer.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2023-06-29 09-15-27.png | 47.13 KB | senthilmohith |
Comments
Comment #2
senthilmohith commentedComment #3
megachrizIn order for the Feeds package to be found, you need to have something like the following in your composer.json:
If you use the drupal composer template, then you should automatically have that line. Or start with a Drupal install this way:
composer create-project drupal/recommended-project:10.1.0 "install-dir"Comment #5
jmev commentedI have the section mentioned in comment #3 but am getting the same error, but with the votingapi module. Any other troubleshooting tips?