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
After a version change of the WP-CLI framework, we should run a composer update inside of the package manager's folder to update the dependencies that were installed for external commands.
Right now, an update for the WP-CLI framework can require versions of libraries that don't match the ones installed with the package manager. As the package manager commands are meant to be able to override those that are bundled, this means that the outdated libraries take precedence.
After a version change of the WP-CLI framework, we should run a composer update inside of the package manager's folder to update the dependencies that were installed for external commands.
Realistically, I think we can only do this at the end of the wp cli update process, not when someone is updating via wget.
Also, it'd be better to call wp package update over requiring the composer binary to be on the system.
It would be good to have a reproducible instance of this bug, as as mentioned in slack, neither wp-cli/doctor-command#113 (stale composer.json) nor #4330 (packages not installed??) seem to apply.
After a version change of the WP-CLI framework, we should run a
composer update
inside of the package manager's folder to update the dependencies that were installed for external commands.Right now, an update for the WP-CLI framework can require versions of libraries that don't match the ones installed with the package manager. As the package manager commands are meant to be able to override those that are bundled, this means that the outdated libraries take precedence.
This causes errors like in wp-cli/doctor-command#113 and #4330 .
The text was updated successfully, but these errors were encountered: