title: Laravel development server closing
body: <p>I am working on a laravel 6 api only application so I am testing the endpoints using postman. I am getting this error when I make request to any of the endpoints</p>
  <blockquote>
  <p>Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0</p>
  <p>Fatal error: Unknown: Failed opening required 'C:\Elo\apiProject\server.php' (include_path='.;C:\php\pear') in Unknown on line 0</p>
  </blockquote>
  <p>From vscode terminal I can see that the development server starts, accepts then closes as seen below</p>
  <pre><code>$ php artisan serve
  Laravel development server started: http://127.0.0.1:8000
  [Thu Apr  2 21:05:53 2020] PHP 7.4.0 Development Server (http://127.0.0.1:8000) started
  [Thu Apr  2 21:05:59 2020] 127.0.0.1:53500 Accepted
  [Thu Apr  2 21:05:59 2020] 127.0.0.1:53500 Closing
  [Thu Apr  2 21:27:23 2020] 127.0.0.1:53668 Accepted
  [Thu Apr  2 21:27:23 2020] 127.0.0.1:53668 Closing
  </code></pre>
  <p>I have no idea why it is closing and no information inside the log file. What could be responsible for throwing such error?</p>