-
Notifications
You must be signed in to change notification settings - Fork 790
Description
Passport Version
13.2.1
Laravel Version
12.31.1
PHP Version
8.4.1
Database Driver & Version
No response
Description
Installing passport on new fresh laravel app throws exception.
INFO Published API routes file.
Symfony\Component\Process\Exception\ProcessSignaledException
The process has been signaled with signal "4".
at vendor/symfony/process/Process.php:461
457▕ usleep(1000);
458▕ }
459▕
460▕ if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) {
➜ 461▕ throw new ProcessSignaledException($this);
462▕ }
463▕
464▕ return $this->exitcode;
465▕ }
+19 vendor frames
20 artisan:16
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
Steps To Reproduce
laravel new appcd appphp artisan api:install --passport
Crash.
Retrying installation goes without exception:
php artisan install:api --passport --force
but it adds second time api: __DIR__.'/../routes/api.php', into bootstrap/app.php