centarro / commerce-kickstart-project

Provides a Composer template for a new Commerce Kickstart 3.x project
GNU General Public License v2.0
22 stars 15 forks source link

Installation via create-project script is failing with an error. #3

Open Tdnshah opened 1 year ago

Tdnshah commented 1 year ago

I was trying to install using the instructions as provide in the readme file, the local dev environment I am using is a lando based environment the only difference in the command I have is I prepend lando as below

lando composer create-project centarro/commerce-kickstart-project kickstart

And this lead to an error as below

Creating a "centarro/commerce-kickstart-project" project at "./kickstart"

  [InvalidArgumentException]                                                         
  Could not find package centarro/commerce-kickstart-project with stability stable.  

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]
girimcarlos commented 1 year ago

I can confirm the error also using composer:

composer create-project -s dev centarro/commerce-kickstart-project kickstart
Creating a "centarro/commerce-kickstart-project" project at "./kickstart"

  [InvalidArgumentException]                                                                                                                                           
  Could not find package centarro/commerce-kickstart-project with stability dev in a version installable using your PHP version, PHP extensions and Composer version.  
kwrobel commented 1 year ago

Can confirm as well. Was going to play around with the Kickstarter store, and got the same error. Tried without and with "-s dev". The message with "-s dev" is the same as @girimcarlos has. I am using Debian 11 and have installed PHP 8.1 from the sury repos.

$ php -v PHP 8.1.12 (cli) (built: Oct 28 2022 18:32:13) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.12, Copyright (c) Zend Technologies with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans