What happends if you create it with composer instead?
composer create-project laravel/laravel demo
Do you get the same error?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Something seems to be wrong with freshly created Laravel instances on my machine.
laravel new demo -> "Application ready! Build something amazing."http://demo.test/
Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale)
Does anyone know how I can solve this?
Additional information:
I'm running Catalina without any issues like that.
Try running valet install again
Please or to participate in this conversation.