composer require is not working

Created on 12 May 2023, over 1 year ago
Updated 23 February 2024, 9 months ago

Hi,
thx for the module I havbe the following Problem:

Problem/Motivation

I tried this without success:
composer require 'drupal/eu_cookie_compliance_matomo:^1.0'
This is working:
composer require drupal/eu_cookie_compliance_matomo
Info: I have to use composer 1 at the moment for this project. But the composer require command is working for other projects.

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Miscellaneous

Created by

🇩🇪Germany Synflag

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

Comments & Activities

  • Issue created by @Synflag
  • Status changed to Closed: cannot reproduce over 1 year ago
  • 🇮🇹Italy marco.aresu Cagliari

    Hi,
    composer require works with Composer 1 and Composer 2..
    Could you try again?

  • Status changed to Active over 1 year ago
  • 🇩🇪Germany Synflag

    it says:

     composer require 'drupal/eu_cookie_compliance_matomo:^1.0'
    Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2.
     See https://blog.packagist.com/deprecating-composer-1-support/
    Info from https://repo.packagist.org: #StandWithUkraine
    
                                                                                           
      [InvalidArgumentException]                                                           
      Could not find package drupal/eu_cookie_compliance_matomo in a version matching 1.0  

    FYI: I am on Windows

    Do I need an other repo?

  • Status changed to Closed: works as designed 9 months ago
  • 🇩🇪Germany Synflag

    Hi, as this was a windows composer problem we can say that the module is working as designed.

Production build 0.71.5 2024