You need to add a : between the package and version constraint:
composer require laravel/ui:^4.0
Because the missing : it searched for the package laravel/ui^4.0 and that doesn't exist :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.