Closed dakira closed 6 years ago
Hello,
can you give me some more details on this issue. I just tried it myself and had no problems installing the module using composer. The release points to the latest commit and a diff to the master branch returned no changes. Try cleaning the cache with
composer cache-clean
before and run the require command in verbose mode to get more details.
composer require phoenix/module-cashondelivery:1.0.0 -vvv
We have found the cause of this issue. The package you get comes from repo.magento.com
, not from GitHub (you should see it in your composer.lock
) and the version uploaded there does not match the GitHub version.
This will be fixed with a new release.
Okay, so the error is that 1.0.0 in repo.magento.com
is not actually the 1.0.0 release because otherwise composer wouldn't use it. Re-ordering the repositories in composer.json helps as a workaround to make your repo take precedence. Thanks for updating!
The 1.0.1 release is now available in the Magento Marketplace.
Also installs correctly from repository now.
An old version gets installed.
How to reproduce
Files should be identical, but they are not. This is the cause of #3.