Using default options for Drupal core and selecting the 8.9.20 (8.x) version:
Screenshot of selections on home page

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
CommentFileSizeAuthor
Screen Shot 2024-04-12 at 11.09.25 AM.png321.75 KBteknorah

Comments

tekNorah created an issue.

teknorah’s picture

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>`.
mahtab_alam’s picture

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

mglaman’s picture