sometimes Angular 19+ uses HTTP/2 by default, it's depending on the Node version and environment your using in your machine. So try forcing HTTP/1.1:
ng serve --disable-http2