The process exceeded the timeout of 60 seconds Laravel Origin: Application & API Last updated 4 Nov 2026

Laravel: Symfony\Component\Process\Exception\ProcessTimedOutException: The process "npm run build" exceeded the timeout of 60 seconds

A subprocess launched via the Process class or Process::run() exceeded its allowed time.

Exact message you may see ProcessTimedOutException: The process exceeded the timeout of 60 secondsThe process exceeded the timeout of 60 secondsThe process has been signaled with signal 9 LaravelThe process exceeded the idle timeout
Seen on: Laravel PHP

Meaning

Processes default to a 60-second timeout. Increase it with ->setTimeout(300) / Process::timeout(300), set null for no timeout (careful), or run long jobs in queues. idle timeout triggers when there is no output for the set period.

Common causes

  • Long build/artisan commands launched from PHP
  • Default 60s timeout
  • Waiting on interactive input
  • Network-dependent command hanging
  • idleTimeout reached

⚡ Quick fix

  1. Process::timeout(300)->run('npm run build') or $process->setTimeout(300)
  2. Run it asynchronously in a queued job
  3. Make commands non-interactive

Detailed fix by platform

Laravel

  1. Process::timeout(600)->run(['composer', 'install', '--no-interaction']);

How to diagnose

  1. Command — Duration?
  2. Timeout — Value set?
  3. Input — Interactive?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

Attempt to read property "x" on null — Laravel/PHP 8: ErrorException: Attempt to read property "name" on null (Laravel)Attempt to read prope…Command "x" is not defined — Laravel: Symfony\Component\Console\Exception\CommandNotFoundException: Command "make:livewire" is not defined. Did you mean one of these? (Laravel)Command "x" is not de…cURL error 28: Operation timed out (Laravel HTTP client) — Laravel: Illuminate\Http\Client\ConnectionException: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received (Laravel)cURL error 28: Operat…Laravel: Allowed memory size exhausted (request) — Laravel/PHP: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/laravel/framework (Laravel)Laravel: Allowed memo…MaxAttemptsExceededException (queue job) — Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long (Laravel)MaxAttemptsExceededEx…Maximum execution time — PHP Fatal error: Maximum execution time of 30 seconds exceeded (PHP)Maximum execution timeMaximum execution time of 30 seconds exceeded — Laravel: Symfony\Component\ErrorHandler\Error\FatalError: Maximum execution time of 30 seconds exceeded (Laravel)Maximum execution tim…The proce…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.