Error on attempt to build a Drupal 8.9.20 instance

Created on 12 April 2024, 12 months ago
Updated 14 August 2024, 8 months ago

Using default options for Drupal core and selecting the 8.9.20 (8.x) version:

I am getting an error on attempt to build a Drupal 8.9.20 instance: https://simplytest.me/tugboat/progress/66109bb4aa2dcd62df3d9401/66109bb4...

This may be the error:

Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
- Required package "zaporylie/composer-drupal-optimizations" is not present in the lock file.
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇺🇸United States teknorah Mokena, IL, US

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

Comments & Activities

  • Issue created by @teknorah
  • 🇺🇸United States teknorah Mokena, IL, US

    Second attempt today, produces same result: https://simplytest.me/tugboat/progress/66195cb9d5dd4604b762fa5d/66195cb9...

    Error:

    This may be the error:
    
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
    - Required package "zaporylie/composer-drupal-optimizations" is not present in the lock file.
    This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
    Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
    and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
    

    Console output just prior to this error:

    HEAD is now at e187f925ed Drupal 8.9.20
    66195cb9d5dd4604b762faed# /bin/sh -c echo "SIMPLYEST_STAGE_DOWNLOAD"
    SIMPLYEST_STAGE_DOWNLOAD
    66195cb9d5dd4604b762faed# /bin/sh -c cd "${DOCROOT}" && composer require zaporylie/composer-drupal-optimizations:^1.0 --no-update
    ./composer.json has been updated
    66195cb9d5dd4604b762faed# /bin/sh -c cd "${DOCROOT}" && composer install --no-ansi
    > Drupal\Composer\Composer::ensureComposerVersion
    Installing dependencies from lock file (including require-dev)
    Verifying lock file contents can be installed on current platform.
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
  • 🇮🇳India mahtab_alam

    https://www.drupal.org/project/simplytest/issues/3405187

    This bug is already reported related to installing 8.x any version
    There is a patch to fix but its on needs review state

Production build 0.71.5 2024