1. The could not reset changes error might indicate a problem with file permissions, and you may have to fix the permissions and re-install the package via composer to fix it.
  2. If you struggle to remember and memorize how to do various things using composer, then here is a quick-reference to help you out.
  3. How to fix a problem with composer in Docker that results in: failed to open stream: No such file or directory error for InstalledVersions.php.
  4. How to install and use composer locally, without the need to write sudo all the time.