Could not parse version constraint ^: Invalid version string "^" when trying to install the module via Composer

Created on 20 August 2020, over 4 years ago
Updated 12 March 2025, 25 days ago

Problem/Motivation

Composer returns error on "composer require drupal/commercetools" in Drupal 9.

Steps to reproduce

1. Install Drupal 9.
2. Try install the module via composer:
run composer require drupal/commercetools
Composer returns:

[RuntimeException]                                                                                                                                                         
  Could not load package drupal/commercetools in https://packages.drupal.org/8: [UnexpectedValueException] Could not parse version constraint ^: Invalid version string "^"
πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany akerbel.dev

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 johnpicozzi Providence, RI

    Closing this issue as outdated as the 1.x version of this module only supports Drupal 8 & 9. We are in the works of releasing a 2.x version of the module that will support current versions of Drupal.

Production build 0.71.5 2024