Fail to install via composer

Created on 22 September 2025, 29 days ago

Problem/Motivation

Installing this module with composer via
composer require 'drupal/dkan_dataset_archiver:1.0.x-dev@dev'
fails with following message:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/dkan_dataset_archiver 1.0.x-dev@dev -> satisfiable by drupal/dkan_dataset_archiver[1.0.x-dev (alias of dev-1.0.x)].
- drupal/dkan_dataset_archiver dev-1.0.x requires drupal/common * -> could not be found in any version, there may be a typo in the package name.
- drupal/dkan_dataset_archiver 1.0.x-dev is an alias of drupal/dkan_dataset_archiver dev-1.0.x and thus requires it to be installed too.

I suppose this is related to πŸ“Œ Make DKAN Core a Dependency Active and https://github.com/GetDKAN/dkan/discussions/4149

It seems the DKAN dependencies from info.yml

dependencies:
  - dkan:dkan
  - dkan:common
  - dkan:datastore
  - dkan:metastore
  - dkan:metastore_search

can not be solved by composer.

Steps to reproduce (fresh ddev D10 install):

  • mkdir my-drupal-site && cd my-drupal-site
  • ddev config --project-type=drupal10 --docroot=web
  • ddev start
  • ddev composer create-project "drupal/recommended-project:^10"
  • ddev composer require drush/drush
  • ddev drush site:install --account-name=admin --account-pass=admin -y
  • ddev composer require 'drupal/dkan_dataset_archiver:1.0.x-dev@dev'

Acceptance Criteria

Testing steps

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany stefan.korn Jossgrund

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024