Skip to content

Vite dev server crashes when HttpClient receives non-200 code #58123

Closed
angular/angular-cli
#28405
@zip-fa

Description

@zip-fa

Command

serve

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

v17

Description

Basically, it's a duplicate of angular/angular-cli#26192

But now it's here again with v19, zoneless and outputMode: 'server'.
Is this behaviour expected and not-an-issue on new setup?

Minimal Reproduction

ng serve

Exception or Error

No response

Your Environment

HttpErrorResponse

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: serverIssues related to server-side renderingcore: zonelessIssues related to running Angular without zone.js

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions