Hi all, im trying to use docker in a project, when i run composer require laravel/sail --dev it installed correctly but when i run php artisan sail:install and select a package i get this "The system cannot find the path specified." but the package installed in my docker-compose.yml file, im using winows 10
and when I Run ./vendor/bin/sail up -d i get Unsupported operating system [MINGW64_NT-10.0-18363]. Laravel Sail supports macOS, Linux, and Windows (WSL2)
This error message usually occurs when the Windows command prompt cannot find the path to the executable file. To fix this issue, try running the command prompt as an administrator and then run the php artisan sail:install command again.
If that doesn't work, try adding the path to the PHP executable to your system's environment variables. To do this, follow these steps:
Open the Start menu and search for "Environment Variables".
Click on "Edit the system environment variables".
Click on the "Environment Variables" button.
Under "System Variables", scroll down and find the "Path" variable.
Click on "Edit" and then "New".
Add the path to your PHP executable (e.g. C:\xampp\php) and click "OK".
Restart your command prompt and try running the php artisan sail:install command again.
If you're still having issues, try using the vendor/bin/sail command instead of php artisan sail:install. Here's an example: