Could not find package centarro/commerce-kickstart-project with stability dev in a version installable us ing your PHP version, PHP extensions and Composer version.

Created on 22 November 2023, 10 months ago
Updated 8 April 2024, 6 months ago

I have
PHP 8.1.25 (cli) (built: Oct 27 2023 14:00:18) (NTS)
Composer version 2.6.5 2023-10-06 10:11:52

Here is my list of extensions

[PHP Modules]
calendar
Core
ctype
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
psr
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
πŸ’¬ Support request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine ollie-db

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

Comments & Activities

  • Issue created by @ollie-db
  • πŸ‡ΊπŸ‡¦Ukraine ollie-db

    Yet another issue that I have encountered in docker 4 drupal:

      Problem 1
        - centarro/certified-projects[1.0.0, ..., 1.x-dev] require drupal/commerce_square ^1.5 -> satisfiable by drupal/commerce_square[1.5.0, 1.6.0, 1.7.0, 1.x-dev].
        - drupal/commerce_square[1.5.0, ..., 1.x-dev] require square/square ^17.2 -> satisfiable by square/square[17.2.0.20220216, 17.3.0.20220316].
        - square/square 17.2.0.20220216 requires php >=7.2 <8.1 -> your php version (8.2.12) does not satisfy that requirement.
        - square/square 17.3.0.20220316 requires php >=7.2 <8.2 -> your php version (8.2.12) does not satisfy that requirement.
        - Root composer.json requires centarro/certified-projects ^1.0 -> satisfiable by centarro/certified-projects[1.0.0, ..., 1.x-dev].
    
  • πŸ‡ΊπŸ‡¦Ukraine akozoriz

    @bardiuk, Looks like your PHP version is 8.2.12, that does not satisfy the requirement
    square/square 17.3.0.20220316 requires php >=7.2 <8.2

  • πŸ‡ΊπŸ‡¦Ukraine ollie-db

    Yeah I get that, I have no idea why would this restriction exist. So not user friendly. There are a lot of issues during installation. I have already wasted 2 hours trying to install it.

  • πŸ‡ΊπŸ‡ΈUnited States GreenSkunk Great Valley, NY

    It's due to the versions of included square having a range of PHP requirements. Please see issue #3338931 "Update square/square dependency in order to support PHP 8.2" πŸ“Œ Update square/square dependency in order to support PHP 8.2 Fixed

  • Getting the same error - have you been able to find a resolution?

  • πŸ‡³πŸ‡¬Nigeria ojchris

    Despite the committed fix in the issue mentioned in #5 the error persist as of today 26th January.

  • πŸ‡³πŸ‡¬Nigeria ojchris

    My solution was to downgrade PHP to 8.1

  • Status changed to Closed: works as designed 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States rszrama

    Sorry, this is standard composer stuff. We can document it a bit more, I suppose, but the output is telling you the issue - you need to match the PHP version expected by the packages, many of which are well beyond our control.

    As I just posted in #3432848: DDEV installation instruction doesn't work β†’ , another option if you know the runtime environment will use the correct version is to append --ignore-platform-reqs to your composer command.

Production build 0.71.5 2024