Created a new project using this command curl -s "https://laravel.build/example-app" | bash from docs, but I faced this error.
1431.8 E: Unable to locate package postgresql-client-15
things I did to fix it on my case
I run the sail up -d then published by sail artisan sail:publish then I downgraded the postgresql version from15 to 14 in the Dockerfile. This make it work fine. There is a video fixing the error by these steps on YouTube.
Steps To Reproduce
use curl -s "https://laravel.build/example-app" | bash to create a new project on mac os 12.7.4
Sail Version
1.18
Laravel Version
10.10
PHP Version
8.1
Operating System
macOS
OS Version
12.7.4
Description
Created a new project using this command
curl -s "https://laravel.build/example-app" | bash
from docs, but I faced this error.things I did to fix it on my case
I run the
sail up -d
then published bysail artisan sail:publish
then I downgraded the postgresql version from15
to14
in the Dockerfile. This make it work fine. There is a video fixing the error by these steps on YouTube.Steps To Reproduce
use
curl -s "https://laravel.build/example-app" | bash
to create a new project on mac os 12.7.4