craftcms / plugin-installer

Composer installer for Craft CMS plugins.
MIT License
28 stars 3 forks source link

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

Open bertoost opened 1 year ago

bertoost commented 1 year ago

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