Problem/Motivation

Getting below issue while installing module using composer:
Problem 1
- drupal/counter dev-1.x requires matomo-org/device-detector ^5.0 -> could not be found in any version, there may be a typo in the package name.
- drupal/counter 1.x-dev is an alias of drupal/counter dev-1.x and thus requires it to be installed too.
- Root composer.json requires drupal/counter 1.x-dev@dev -> satisfiable by drupal/counter[1.x-dev (alias of dev-1.x)].

Steps to reproduce

Run: composer require 'drupal/counter:1.x-dev@dev'

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

narendraR created an issue. See original summary.

  • 9c05900 committed on 8.x-1.x
    Issue #3264417: Unable to install module using composer
    

  • baf7649 committed on 8.x-1.x
    Issue #3264417: Unable to install module using composer
    
gaurav.kapoor’s picture

Status: Active » Needs review

@narendraR Thanks for reporting this issue. I noticed there was a typo in the package name in composer.json and I have fixed it now. I am able to install the module using composer now. Let me know if you are still getting issues.

narendrar’s picture

Status: Needs review » Reviewed & tested by the community

Worked for me. Thanks.

gaurav.kapoor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.