I can not install it via composer

Created on 24 May 2022, over 2 years ago
Updated 18 April 2023, over 1 year ago

I entered
composer create-project -s dev centarro/commerce-kickstart-project kickstart

I got

   Could not apply patch! Skipping. The error was: Cannot apply patch patches/default_content/3160146-layout-builder.patch

In Patches.php line 326:

  Cannot apply patch #3160146 Add a Normalizer and Denormalizer to support Layout Builder (patches/default_content/31
  60146-layout-builder.patch)!


Then I entered
composer require drupal/commerce_demo:^3.0

I got

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/commerce_demo 3.0, found drupal/commerce_demo[dev-8.x-1.x, dev-8.x-2.x, dev-3276493-commerce_kickstart_search_api_catalog, 3.0.x-dev] but it does not match the constraint.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

What do I do?

💬 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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India lokesh.61

    This patch is applied using patch command and windows does not have 'patch' command pre-installed. install git for windows. and use git 'patch' command at c/program files/git/usr/bin/patch.exe (add it to your path). it worked for me.

Production build 0.71.5 2024