You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to deploy this app on HK we receive this error:
-----> Building on the Heroku-22 stack
-----> Determining which buildpack to use for this app
-----> PHP app detected
-----> Bootstrapping...
-----> Preparing platform package installation...
NOTICE: No runtime required in composer.json; requirements
from dependencies in composer.lock will be used for selection
NOTICE: No Composer platform-api-version recorded in composer.lock; file must be very old. Will attempt to use Composer 1 for installation.
-----> Installing platform packages...
! ERROR: Failed to install system packages!
!
! Your platform requirements (for runtimes and extensions) could
! not be resolved to an installable set of dependencies, or a
! platform package repository was unreachable.
!
! This usually means that you (or packages you are using) depend
! on a combination of PHP versions and/or extensions that are
! currently not available on Heroku.
!
! The following is the full output from the installation attempt:
!
! > Loading repositories with available runtimes and extensions
! > Warning: the packages key '0' doesn't match the name defined in the package metadata 'ext-bcmath' in repository https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-22-stable
! > Updating dependencies
! > Your requirements could not be resolved to an installable set of packages.
! >
! > Problem 1
! > - Root composer.json requires composer-plugin-api ^1, it could not be found in any version, but the following packages provide it:
! > - composer
! > Consider requiring one of these to satisfy the composer-plugin-api requirement.
! > Problem 2
! > - Root composer.json requires composer/ca-bundle 1.0.6 -> satisfiable by composer/ca-bundle[1.0.6].
! > - composer/ca-bundle 1.0.6 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 3
! > - Root composer.json requires composer/composer 1.3.2 -> satisfiable by composer/composer[1.3.2].
! > - composer/composer 1.3.2 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 4
! > - Root composer.json requires composer/semver 1.4.2 -> satisfiable by composer/semver[1.4.2].
! > - composer/semver 1.4.2 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 5
! > - Root composer.json requires composer/spdx-licenses 1.1.5 -> satisfiable by composer/spdx-licenses[1.1.5].
! > - composer/spdx-licenses 1.1.5 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 6
! > - Root composer.json requires seld/jsonlint 1.5.0 -> satisfiable by seld/jsonlint[1.5.0].
! > - seld/jsonlint 1.5.0 requires php ^5.3 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! >
!
! For reference, the following runtimes are currently available:
!
! PHP: 8.1.12, 8.1.11, 8.1.10, 8.1.9, 8.1.8, 8.1.7, 8.1.6
!
! Please verify that all requirements for runtime versions in
! 'composer.lock' are compatible with the list above, and ensure
! all required extensions are available for the desired runtimes.
!
! When choosing a PHP runtimes and extensions, please also ensure
! they are available on your app's stack (heroku-22), and select
! a different stack if needed after consulting the article below.
!
! For a list of supported runtimes & extensions on Heroku, please
! refer to: https://devcenter.heroku.com/articles/php-support
! Push rejected, failed to compile PHP app.
! Push failed
The text was updated successfully, but these errors were encountered:
When we try to deploy this app on HK we receive this error:
-----> Building on the Heroku-22 stack
-----> Determining which buildpack to use for this app
-----> PHP app detected
-----> Bootstrapping...
-----> Preparing platform package installation...
NOTICE: No runtime required in composer.json; requirements
from dependencies in composer.lock will be used for selection
NOTICE: No Composer platform-api-version recorded in composer.lock; file must be very old. Will attempt to use Composer 1 for installation.
-----> Installing platform packages...
! ERROR: Failed to install system packages!
!
! Your platform requirements (for runtimes and extensions) could
! not be resolved to an installable set of dependencies, or a
! platform package repository was unreachable.
!
! This usually means that you (or packages you are using) depend
! on a combination of PHP versions and/or extensions that are
! currently not available on Heroku.
!
! The following is the full output from the installation attempt:
!
! > Loading repositories with available runtimes and extensions
! > Warning: the packages key '0' doesn't match the name defined in the package metadata 'ext-bcmath' in repository https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-22-stable
! > Updating dependencies
! > Your requirements could not be resolved to an installable set of packages.
! >
! > Problem 1
! > - Root composer.json requires composer-plugin-api ^1, it could not be found in any version, but the following packages provide it:
! > - composer
! > Consider requiring one of these to satisfy the composer-plugin-api requirement.
! > Problem 2
! > - Root composer.json requires composer/ca-bundle 1.0.6 -> satisfiable by composer/ca-bundle[1.0.6].
! > - composer/ca-bundle 1.0.6 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 3
! > - Root composer.json requires composer/composer 1.3.2 -> satisfiable by composer/composer[1.3.2].
! > - composer/composer 1.3.2 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 4
! > - Root composer.json requires composer/semver 1.4.2 -> satisfiable by composer/semver[1.4.2].
! > - composer/semver 1.4.2 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 5
! > - Root composer.json requires composer/spdx-licenses 1.1.5 -> satisfiable by composer/spdx-licenses[1.1.5].
! > - composer/spdx-licenses 1.1.5 requires php ^5.3.2 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! > Problem 6
! > - Root composer.json requires seld/jsonlint 1.5.0 -> satisfiable by seld/jsonlint[1.5.0].
! > - seld/jsonlint 1.5.0 requires php ^5.3 || ^7.0 -> found php[8.1.6, ..., 8.1.12] but it does not match the constraint.
! >
!
! For reference, the following runtimes are currently available:
!
! PHP: 8.1.12, 8.1.11, 8.1.10, 8.1.9, 8.1.8, 8.1.7, 8.1.6
!
! Please verify that all requirements for runtime versions in
! 'composer.lock' are compatible with the list above, and ensure
! all required extensions are available for the desired runtimes.
!
! When choosing a PHP runtimes and extensions, please also ensure
! they are available on your app's stack (heroku-22), and select
! a different stack if needed after consulting the article below.
!
! For a list of supported runtimes & extensions on Heroku, please
! refer to: https://devcenter.heroku.com/articles/php-support
! Push rejected, failed to compile PHP app.
! Push failed
The text was updated successfully, but these errors were encountered: