Installation failed, reverting ./composer.json and ./composer.lock to their original content. code example
Example: Installation failed, reverting ./composer.json and ./composer.lock to their original content.
//Problem is the version in the packages are not the same
//To figure out we try the version one by one from 0
composer require laravel/ui:0.*
composer require laravel/ui:1.*
composer require laravel/ui:2.*