Fix – installation failed reverting ./composer.json to its original content
Posted on: February 26, 2021 by Deven
If you are getting installation failed reverting ./composer.json to its original content error. This article will help you fix the issue.
A quick way to fix this issue by removing ./composer/cache
folder and then running the following command in your terminal.
composer global update
If you still facing the issue it means the package you are trying to use is not updated to work with the Laravel version you are using. You can verify its dependency on packagist.
Share on social media
//