I am a newbie to Laravel, have been trying to install Laravel, wasted three hours unfortunately didn\'t work. When I access through public directory, I get these errors:
Your Laravel installer is giving an error.
Do composer global require "laravel/installer"
composer global require "laravel/installer"
Then the new Laravel installer will be installed. Your new Laravel will not return an error then.