plugin-installer icon indicating copy to clipboard operation
plugin-installer copied to clipboard

Remove and reinstall craftcms/ vendor directory ends up with an nearly empty plugins.php

Open bertoost opened this issue 2 years ago • 0 comments

Description

I had to remove the vendor/craftcms/ directory (because I edited some core files, for test purposes, and I want to discard all changes). After I run composer install again, the craftcms dependencies are installed correctly, but the plugins.php only contains the craftcms plugins (eq. the contactform etc.). The other plugins are not back in because they were not installed again ofcourse.

I had to remove the whole vendor/ directory and that recovered the plugins.php

Steps to reproduce

  1. Have some plugins installed
  2. Remove the vendor/cractcms/ folder
  3. Run composer install again
  4. Check plugins.php

Additional info

  • Craft version: 4.5.0
  • PHP version: 8.2

bertoost avatar Aug 23 '23 11:08 bertoost