Is it recommended to exec to CLI container and run...
# help
r
Is it recommended to exec to CLI container and run composer require ? I need to install a certain package. I did try that but I got an error curl error 55 while downloading https://repo.packagist.org/p2/spryker/configurable-bundles-products-resource-relationship~dev.json: Failed sending data to the peer
p
So I know some devs who run it outside. I prefer to run it inside the
docker/sdk cli
to be absolutely sure to use the exact same env-vars/php version etc
👍 1
r
sounds legit, I already did try that, I get this , I have no clue what's the problem, does it happen that u have faced that before ?
Copy code
> ChromedriverInstaller\Installer::installChromedriver
[Chromedriver] Skipped install due to COMPOSER_IGNORE_CHROMEDRIVER.
Deprecation Notice: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /data/vendor/sllh/composer-versions-check/src/VersionsCheck.php:54

In CurlDownloader.php line 377:

  curl error 55 while downloading <https://repo.packagist.org/p2/spryker/configurable-bundles-products-resource-relationship~dev.json>: Failed
  sending data to the peer
p
Copy code
Deprecation Notice: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /data/vendor/sllh/composer-versions-check/src/VersionsCheck.php:54
This one seems because of a leftover when Spryker prepared the demoshop. Can you try to do
composer remove sllh/composer-versions-check
first?
r
a ha , sure , wait a sec
p
That package is deprecated for long time and not needed anymore. And afaik it does not support php8
👏 1
r
Yeap , all good, it was obvious a matter of php version deprecation, but had no clue what that package was for
thx a lot
👌 1
💪 1