-1

i try to install composer libs from scratch, and had an error: enter image description here

Try to fix it by:

composer global require "fxp/composer-asset-plugin:^1.2.0"

composer self-update

composer clear-cache

As you see, I`m not good in it, and also I am desperate, because i don`t know what is really going on, and how to fix this

UPD Also try composer install --prefer-source. But it not helps Also, this question is not copy, because there was conclusion, and i my case there was broken link inside composer.lock.

  • You may need to run `composer update` - your `composer.lock` seems to have links to non-existing sources. – rob006 Jan 15 '20 at 19:14
  • Does this answer your question? [The lock file is not up to date with the latest changes in composer.json](https://stackoverflow.com/questions/53291681/the-lock-file-is-not-up-to-date-with-the-latest-changes-in-composer-json) – Nico Haase Jan 16 '20 at 08:30
  • @NicoHaase, look on answer below) – Alex Khonko Jan 16 '20 at 12:53

1 Answers1

-1

The solution was finded by @rob006

So, i try to composer install, and have an error on img

My worked desicion was: - composer update myLibVendorName/myLibSourceName - right after i get an error.