You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command will complain that The lock file is not up to date with the latest changes in composer.json, it is recommended that you run composer update.
Expected results: A successful composer require on a valid composer.json should leave you in a valid state.
composer.lock contains an hash calculated from a few values contained composer.json. The problem is that installing recipes will add new properties to the extra object in composer.json after the composer.lock hash has been generated.
There's an easy workaround ... which is to just run a composer update ... but it's kind of an annoyance for the silverstripe upgrader.
The text was updated successfully, but these errors were encountered:
If you install a recipe, your composer set up will be invalid.
Step to reproduce
composer.json
in your new directory.composer require silverstripe/recipe-cms
composer validate
.composer update
.Expected results: A successful
composer require
on a valid composer.json should leave you in a valid state.Sample
composer.json
fileUnderlying cause of problem
composer.lock
contains an hash calculated from a few values contained composer.json. The problem is that installing recipes will add new properties to theextra
object incomposer.json
after the composer.lock hash has been generated.There's an easy workaround ... which is to just run a composer update ... but it's kind of an annoyance for the silverstripe upgrader.
The text was updated successfully, but these errors were encountered: