Cannot install with composer

Created on 3 December 2020, almost 4 years ago
Updated 1 February 2023, almost 2 years ago

Problem/Motivation

I am unable to install the module via composer (1 & 2).

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

  Problem 1
    - drupal/smartmenus dev-1.x requires drmonty/smartmenus 1.1.1 -> found drmonty/smartmenus[dev-master, v0.9.6, v0.9.7, 1.0.0, 1.0.1, 1.1.0] but it does not match the constraint.
    - drupal/smartmenus 1.x-dev is an alias of drupal/smartmenus dev-1.x and thus requires it to be installed too.
    - Root composer.json requires drupal/smartmenus 1.x-dev@dev -> satisfiable by drupal/smartmenus[1.x-dev (alias of dev-1.x)].

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom mrpauldriver

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.

  • 🇺🇸United States douggreen Winchester, VA

    This works just fine for me, by following the README.md and adding the repository. I'll be cutting a new release today, maybe that will help.

  • 🇺🇸United States mortona2k Seattle

    Is the 1.1.1 version necessary? Why not require it as ^1.1 or ^1.

    If changes are needed for each release, we should keep the pinned version.

    It could be downloaded with asset-packagist instead of linking the github release. I think that's a better practice for common libraries.

    The composer installation does currently work with the readme instructions, adding the github repository to composer.json.

  • First commit to issue fork.
  • Merge request !5Created MR for the 8.x-1.x branch. → (Open) created by mrinalini9
  • 🇮🇳India mrinalini9 New Delhi

    I have tried 'composer require drmonty/smartmenus:1.1.1' but that not worked and allow me to install. Then, i have tried 'composer require drmonty/smartmenus: ^1.1' as suggested in #15 that worked for me. So, have created MR based on that, please review it.

    Thanks!

Production build 0.71.5 2024