Skip to content

No longer works with Angular 20 (--disable-host-check) #876

@magori

Description

@magori

Describe the bug

No longer works with Angular 20, the “--disable-host-check” parameter is no longer recognized.
This parameter must be removed or replaced.

Angular 17 disable host check

Angular CLI Version Behavior of --disable-host-check--
≤ v16/v17 Available, but discouraged usage
≥ v17 Usage triggers errors; option is no longer recognized
≥ v19.2 Option is ignored with modern builders (esbuild)
v20 Completely removed; the option no longer exists

To work around the problem, adapt the properties: quarkus.quinoa.package-manager-command.dev=run start -- --hmr

Quinoa version

3.24.1

Quarkus version

2.5.4

Build / Runtime

Angular

Package Manager

NPM

Steps to reproduce the behavior

Try with the Angular version ^20.0.4

Expected behavior

Remove "--disable-host-check" parameter in the AngularFramework.java or detect the Angular version and adapt the parameters.
See if we should replace the parameter with --host 0.0.0.0

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions