You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anwar@ubuntu:~/programming/project$ php artisan install:api
Symfony\Component\Process\Exception\ProcessStartFailedException
The command"'composer' 'require' 'laravel/sanctum:^4.0'" failed.
Working directory: /home/alpine/app
Error: proc_open(): posix_spawn() failed: No such file or directory
at vendor/symfony/process/Process.php:371
367▕ restore_error_handler();
368▕ }
369▕
370▕ if (!\is_resource($process)) {
➜ 371▕ throw new ProcessStartFailedException($this, $lastError);
372▕ }
373▕ $this->process = $process;
374▕ $this->status = self::STATUS_STARTED;
375▕
+17 vendor frames
18 artisan:13
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
There seems to be some well known solution in the community, but I wonder if the suggested solution should be used or if there is a missing dependency on Sanctum side. Edit: The dependency is already included and this does not fix my issue.
We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem.
Sanctum Version
4.0.2
Laravel Version
11.23.5
PHP Version
8.3.10
Database Driver & Version
No response
Description
An error occured on fresh install:
There seems to be some well known solution in the community, but I wonder if the suggested solution should be used or if there is a missing dependency on Sanctum side. Edit: The dependency is already included and this does not fix my issue.
laravel/framework#51820 (comment)
Steps To Reproduce
With these executables (all runing inside Alpine Linux v3):
Create laravel project:
Install Sanctum:
The text was updated successfully, but these errors were encountered: