Hi.
I have added KoolReport to my project and in the first deployment to Heroku with it, it broke the process when composer tried to install 'sparklines' package. Strange that it isn't even in the require
section, so it's is dependency.
Check the log below:
-----> PHP app detected
-----> Bootstrapping...
-----> Installing platform packages...
- php (7.3.11)
- ext-gd (bundled with php)
- ext-mbstring (bundled with php)
- apache (2.4.41)
- nginx (1.16.1)
-----> Installing dependencies...
Composer version 1.9.0 2019-08-02 20:55:32
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 88 installs, 0 updates, 0 removals
(Lots of packages here... removed for brevity)
- Installing koolreport/statistics (1.1.0): Downloading (100%)
- Installing koolreport/sparklines (1.5.0): Downloading (100%) Failed to download koolreport/sparklines from dist: The checksum verification of the file failed (downloaded from https://repo.koolreport.com//dist/koolreport/sparklines/koolreport-sparklines-76f2977abd1246b430b0d38928e680c2ba7c2e4f-zip-365359.zip)
Now trying to download from source
- Installing koolreport/sparklines (1.5.0): Cloning 76f2977abd
[RuntimeException]
Failed to execute git clone --no-checkout 'git@github.com:koolreport/sparklines.git' '/tmp/build_f67855dc5d3233efa7e4cb86e4b17850/vendor/koolreport/sparklines' && cd '/tmp/build_f67855dc5d3233efa7e4cb86e4b17850/vendor/koolreport/sparklines' && git remote add composer 'git@github.com:koolreport/sparklines.git' && git fetch composer
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
! ERROR: Dependency installation failed!
!
! The 'composer install' process failed with an error. The cause
! may be the download or installation of packages, or a pre- or
! post-install hook (e.g. a 'post-install-cmd' item in 'scripts')
! in your 'composer.json'.
!
! Typical error cases are out-of-date or missing parts of code,
! timeouts when making external connections, or memory limits.
!
! Check the above error output closely to determine the cause of
! the problem, ensure the code you're pushing is functioning
! properly, and that all local changes are committed correctly.
!
! For more information on builds for PHP on Heroku, refer to
! https://devcenter.heroku.com/articles/php-support
! Push rejected, failed to compile PHP app.
! Push failed
Any advice on this? Thank you in advance