Help me troubleshoot composer errors installing DHL Parcel extension in Magento2 website via teamviewer
Budget: $10 – $30 USD
this command: [root@server httpdocs]# /opt/plesk/php/7.2/bin/php /usr/lib64/plesk-9.0/composer.phar require guzzlehttp/guzzle:7.4.1
gives error:
Running composer update guzzlehttp/guzzle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires guzzlehttp/guzzle 7.4.1, found guzzlehttp/guzzle[7.4.1] but these were not loaded, likely because it conflicts with another require.
Problem 2
- magento/product-community-edition is locked to version 2.3.4 and an update of this package was not requested.
- magento/product-community-edition 2.3.4 requires guzzlehttp/guzzle ^6.3.3 -> found guzzlehttp/guzzle[6.3.3, ..., 6.5.5] but it conflicts with your root composer.json require (7.4.1).
Problem 3
- magento/framework 102.0.4 requires guzzlehttp/guzzle ^6.3.3 -> found guzzlehttp/guzzle[6.3.3, ..., 6.5.5] but it conflicts with your root composer.json require (7.4.1).
- magento/module-amazon 4.2.0 requires magento/framework ~102.0 || ~103.0 -> satisfiable by magento/framework[102.0.4].
- magento/module-amazon is locked to version 4.2.0 and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
installation documentation: https://github.com/dhlparcel/plugin-magento2-release/tree/v1.0.36
gives error:
Running composer update guzzlehttp/guzzle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires guzzlehttp/guzzle 7.4.1, found guzzlehttp/guzzle[7.4.1] but these were not loaded, likely because it conflicts with another require.
Problem 2
- magento/product-community-edition is locked to version 2.3.4 and an update of this package was not requested.
- magento/product-community-edition 2.3.4 requires guzzlehttp/guzzle ^6.3.3 -> found guzzlehttp/guzzle[6.3.3, ..., 6.5.5] but it conflicts with your root composer.json require (7.4.1).
Problem 3
- magento/framework 102.0.4 requires guzzlehttp/guzzle ^6.3.3 -> found guzzlehttp/guzzle[6.3.3, ..., 6.5.5] but it conflicts with your root composer.json require (7.4.1).
- magento/module-amazon 4.2.0 requires magento/framework ~102.0 || ~103.0 -> satisfiable by magento/framework[102.0.4].
- magento/module-amazon is locked to version 4.2.0 and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
installation documentation: https://github.com/dhlparcel/plugin-magento2-release/tree/v1.0.36