Do you want to run "sail:install" instead? (yes/no) [no]:
> yes
In SailInstallCommand.php line 40:
copy(/home/me/mine/workspace/discover/vendor/laravel/sail/stubs/docker-compose.yml): failed to open stream: No such file or directory
Looks like sail ships now with a docker-compose.stub
$ vendor/bin/sail up
ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 24, column 1
could not find expected ':'
in "./docker-compose.yml", line 25, column 1
ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 24, column 1
could not find expected ':'
in "./docker-compose.yml", line 25, column 1
ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 24, column 1
could not find expected ':'
in "./docker-compose.yml", line 25, column 1
With these versions:
on PHP8
Looks like sail ships now with a docker-compose.stub
Simply changing the path in
vendor/mahdiraad/lumen-sail/src/Console/Commands/SailInstallCommand.php:40
to
does not help: