I mistakenly deleted
composer.lock from my Magento ecommerce site and now my site will not respond. How can i solve that please?
I tried reinstalling but still the site will not respond.
If you just deleted the two files and they are present in your Git, then
git status will tell you what to do:
Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) deleted: composer.json deleted: composer.lock
git checkout -- composer.json git checkout -- composer.lock
and check again. Git status will not show the files as deleted any more.