Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bertoost opened this issue Aug 23, 2023 · 0 comments
Labels

Comments

@bertoost
Copy link

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 bertoost added the bug label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant