Skip to content

Installation fails with ProcessSignaledException #1857

@p34eu

Description

@p34eu

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

  1. laravel new app
  2. cd app
  3. php 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions