문제

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 using composer clear-cache and re-install module via composer using composer require route/route-m2.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top