Updating Module Via Composer will NOT Update Module?
-
15-04-2021 - |
문제
When Updating Module Via Composer it will not Update Module on my localhostx?
When I put this line. I get this error on my local host.
composer require "route/route-m2"
Could not find a matching version of package route/route-m2. Check the pack age spelling, your version constraint and that the package is available in a stability which matches your minimum-stability
If I try COMPOSER_MEMORY_LIMIT=6G composer update 'route/route-m2'
I get
Nothing to install or update
Am I putting in the wrong syntax?? I am so confused.
해결책
As discussed in the comments, here are the things which can be tried in this scenario:
- Clear composer cache and retry using
composer clear-cache
. - Try composer require without quotes
composer require route/route-m2
. - Delete
composer.lock
, delete already installed module from vendor folder, clear cache usingcomposer clear-cache
and re-install module via composer usingcomposer require route/route-m2
.
제휴하지 않습니다 magento.stackexchange