Closed ramzdam closed 5 years ago
Version 0.10.0 is compatible with PHP 7.2.
Installation runs through with no issues.
Check if your composer version is up-to-date or if there are any CentOS related issues with it.
Thanks for this I guess the README.md is somewhat a little misleading specially for a newby like me. I followed the instruction
composer require dhl/module-shipping-m2:0.10.0
for VCS but didn't know that I have to run the
composer config repositories.dhl-shipping-m2 vcs git@github.com:netresearch/dhl-module-shipping-m2.git
Searching for "Could not find package" you get http://dhl.support.netresearch.de/support/solutions/articles/12000027852-what-does-the-message-could-not-find-package-mean- refering to http://support.netresearch.de/support/solutions/articles/12000008579
and both don't say anything about "composer config repositories.dhl-shipping-m2 vcs ..."
@MarcusWolschon Yep, I noticed. that's why I removed my earlier comment.
We'll amend the readme to make this clearer.
Bug description Can't install the version 0.10.0 via VCS eventhough my PHP version is 7.2.13
Steps to reproduce To reproduce the problem:
composer require dhl/module-shipping-m2:0.10.0
Expected behavior Should install successfully since I have PHP version 7.2.13
Screenshots / logs [InvalidArgumentException] Could not find package dhl/module-shipping-m2 in any version matching your PHP version (7 .2.13)
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
Environment
FAQ Has the Knowledge Base been checked for a solution?