Open cjmling opened 5 years ago
In case package is missing (not in vendor) , but its there in composer.json
but running composer install
doesn't install the package but complain about composer.lock
is outdated and tell us to run update (which we should not).
In this case just run composer require <package-name>:<version>
the missing package again
so if u have problem with specific library u need to do something like
composer update guzzlehttp/guzzle
– that will update it to maximum version allowed by composer.jsonbut if that version is not enough, then u need to do
composer require guzzlehttp/guzzle:6.x
(assuming it was 5.x in composer.json)tags: composer install require update