0

I have a magento 2 installation that has packages installed in vendor that are missing in composer.lock. i dont know if previous devs downloades packages manually. If i try to install a new package, composer removes all these packages, and downgrades some magento 2 packages. Is there any way to regenerate composer.lock and composer.json from installed packages from vendor folder?

Thanks in advance

yivi
  • 42,438
  • 18
  • 116
  • 138
LMS
  • 1
  • If adding a new package removes other stuff from the vendor folder, then you have a problerm. Why not add such packages manually afterwards until you reach a stable state? – Nico Haase Sep 23 '20 at 05:46
  • yeah that's what i'm doing while i fix it :( – LMS Sep 24 '20 at 06:49

0 Answers0