When I upgrade to CI4.2.0 "php spark serve" stops working and just displays a blank message. The below set of commands are in Git Bash. I first run "php spark serve" in CI4.1.9 and it works fine, then I upgrade to CI4.2.0 and "php spark serve" does not work. For reference, I have PHP 8.1.6 installed on Windows 10.
Code:
me@LAPTOP-ICCPFR27 MINGW64 /c/sites/www (master)
$ php spark serve
CodeIgniter v4.1.9 Command Line Tool - Server Time: 2022-06-09 13:49:06 UTC+00:00
CodeIgniter development server started on http://localhost:8080
Press Control-C to stop.
[Thu Jun 9 09:49:07 2022] PHP 8.1.6 Development Server (http://localhost:8080) started
[Thu Jun 9 10:01:36 2022] [::1]:59801 Accepted
me@LAPTOP-ICCPFR27 MINGW64 /c/sites/www (master)
$ composer update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading codeigniter4/framework (v4.1.9 => v4.2.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Upgrading codeigniter4/framework (v4.1.9 => v4.2.0): Extracting archive
37 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
me@LAPTOP-ICCPFR27 MINGW64 /c/sites/www (master)
$ php spark serve
me@LAPTOP-ICCPFR27 MINGW64 /c/sites/www (master)