Unable to install module using composer

Created on 1 October 2021, about 3 years ago
Updated 13 February 2024, 9 months ago

Problem/Motivation

Unable to install module using composer. Getting below error:
Problem 1
- drupal/contextly dev-2.x requires contextly/contextly-kit 5.0.10 -> could not be found in any version, there may be a typo in the package name.
- drupal/contextly 2.x-dev is an alias of drupal/contextly dev-2.x and thus requires it to be installed too.
- Root composer.json requires drupal/contextly 2.x-dev@dev -> satisfiable by drupal/contextly[2.x-dev (alias of dev-2.x)].

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

Steps to reproduce

Run composer require 'drupal/contextly:2.x-dev@dev'

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India narendraR Jaipur, India

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

Comments & Activities

Not all content is available!

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

  • 🇺🇸United States dan612 Portland, Maine

    In order to install this module with composer you must add the following to your project composer.json prior to requiring this module

           {
                "type": "package",
                "package": {
                     "name": "contextly/contextly-kit",
                     "version": "5.0.10",
                     "type": "drupal-library",
                     "dist": {
                          "url": "https://assets.context.ly/archives/kit/contextly-kit-5.latest.tar.gz",
                          "type": "tar"
                     },
                     "autoload": {
                          "classmap": [
                                  "server/",
                                  "server/includes/",
                                  "server/includes/assets/",
                                  "server/includes/package/"
                          ]
                     }
                }
            }
    
    

    See this part of the readme.

Production build 0.71.5 2024