Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProcessTimedOutException on installing a stack #45

Closed
ManojKiranA opened this issue Sep 4, 2020 · 2 comments
Closed

ProcessTimedOutException on installing a stack #45

ManojKiranA opened this issue Sep 4, 2020 · 2 comments

Comments

@ManojKiranA
Copy link

  • Jetstream Version: 0.6.0
  • Laravel Version: 8.0
  • PHP Version: 7.4.3
  • Database Driver & Version:

Description:

When i try to run this command its giving me

Symfony\Component\Process\Exception\ProcessTimedOutException

image

So i have fixed this by passing INF as time value

https://github.com/laravel/jetstream/blob/master/src/Console/InstallCommand.php#L116

https://github.com/laravel/jetstream/blob/master/src/Console/InstallCommand.php#L123

// Install Livewire...
        (new Process(['composer', 'require', 'livewire/livewire:^2.0', 'laravel/sanctum:^2.6'], base_path(),null,null,INF))
                ->run(function ($type, $output) {
                    $this->output->write($output);
                });

        // Sanctum...
        (new Process(['php', 'artisan', 'vendor:publish', '--provider=Laravel\Sanctum\SanctumServiceProvider', '--force'], base_path(),null,null,INF))
                ->run(function ($type, $output) {
                    $this->output->write($output);
                });

Steps To Reproduce:

@driesvints
Copy link
Member

Feel free to PR.

@driesvints
Copy link
Member

@ManojKiranA we're gonna tag a new version which should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants