Have you ever get this error? If yes I am not alone. I have an existing laravel installer for 5.0 and now its time to upgrade and boom.. that error came out.
Don’t panic, the problem is not quite hard to fix. it is only because your composer isn’t compatible with the newer version of laravel. just run:
$ composer self-update
The other thing that happened in my development environment is that I have a legacy Botman system and now it yelled out complaining over ext-zip extension. Just don’t panic. (in my context I was on Mac Catalina os)
$ brew install firstname.lastname@example.org $ brew link email@example.com $ echo 'export PATH="/firstname.lastname@example.org/bin:$PATH"' >> ~/.zshrc $ echo 'export PATH="/email@example.com/sbin:$PATH"' >> ~/.zshrc
In the end your laravel installation is good to go.
Thanks for reading. Hope this help