title: fclose(): Argument #1 ($stream) must be of type resource, bool given
body: <p>I just restart my laravel 8.0 project and I got this below error, please what could be wrong, this happens anytime I run &quot;PHP artisan serve&quot;</p>
  <pre><code>   TypeError
  
    fclose(): Argument #1 ($stream) must be of type resource, bool given
  
    at C:\Users\owner\Laravel-App\test-app\vendor\symfony\process\Pipes\WindowsPip
  es.php:74
       70▕                         fclose($this-&gt;lockHandles[$pipe]);
       71▕                     }
       72▕                     $this-&gt;lockHandles[$pipe] = $h;
       73▕
    ➜  74▕                     if (!fclose(fopen($file, 'w')) || !$h = fopen($file
  , 'r')) {
       75▕                         flock($this-&gt;lockHandles[$pipe], \LOCK_UN);
       76▕                         fclose($this-&gt;lockHandles[$pipe]);
       77▕                         unset($this-&gt;lockHandles[$pipe]);
       78▕                         continue 2;
         continue 2;
  
    1   C:\Users\owner\Laravel-App\test-app\vendor\symfony\process\Pipes\WindowsPi
  pes.php:74
        fclose()
  
    2   C:\Users\owner\Laravel-App\test-app\vendor\symfony\process\Process.php:130
  4
        Symfony\Component\Process\Pipes\WindowsPipes::__construct()
  </code></pre>