Skip to content

ng serve errors... (never seen before) #30005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
rudyhadoux opened this issue Apr 2, 2025 · 2 comments
Closed
1 task done

ng serve errors... (never seen before) #30005

rudyhadoux opened this issue Apr 2, 2025 · 2 comments

Comments

@rudyhadoux
Copy link

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

19

Description

When i do ng serve, I have errors never seen before
chunk-XCP7LSJX.js:7 ERROR b: NG0200: e
at Nc (http://localhost:4200/chunk-XCP7LSJX.js:4:1613)
at Wt.hydrate (http://localhost:4200/chunk-XCP7LSJX.js:7:5094)
at Wt.get (http://localhost:4200/chunk-XCP7LSJX.js:7:4305)
at xf (http://localhost:4200/chunk-XCP7LSJX.js:4:2447)
at ke (http://localhost:4200/chunk-XCP7LSJX.js:4:2525)
at C (http://localhost:4200/chunk-XCP7LSJX.js:4:2567)
at new e (http://localhost:4200/chunk-KLJGEXWH.js:452:20092)
at lc.ɵfac [as factory] (http://localhost:4200/chunk-KLJGEXWH.js:452:22213)
at Wt.hydrate (http://localhost:4200/chunk-XCP7LSJX.js:7:5139)
at Wt.get (http://localhost:4200/chunk-XCP7LSJX.js:7:4305)
main-BZCCHWHG.js:2 b: NG0200: e
at Nc (http://localhost:4200/chunk-XCP7LSJX.js:4:1613)
at Wt.hydrate (http://localhost:4200/chunk-XCP7LSJX.js:7:5094)
at Wt.get (http://localhost:4200/chunk-XCP7LSJX.js:7:4305)
at xf (http://localhost:4200/chunk-XCP7LSJX.js:4:2447)
at ke (http://localhost:4200/chunk-XCP7LSJX.js:4:2525)
at C (http://localhost:4200/chunk-XCP7LSJX.js:4:2567)
at new e (http://localhost:4200/chunk-KLJGEXWH.js:452:20092)
at lc.ɵfac [as factory] (http://localhost:4200/chunk-KLJGEXWH.js:452:22213)
at Wt.hydrate (http://localhost:4200/chunk-XCP7LSJX.js:7:5139)
at Wt.get (http://localhost:4200/chunk-XCP7LSJX.js:7:4305

Minimal Reproduction

Impossible to reproduce, it is my professional work

Exception or Error


Your Environment

Angular CLI: 19.2.5
Node: 22.14.0
Package Manager: npm 11.2.0
OS: darwin arm64

Angular: 19.2.4
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.5
@angular-devkit/build-angular   19.2.5
@angular-devkit/core            19.2.5
@angular-devkit/schematics      19.2.5
@angular/cli                    19.2.5
@schematics/angular             19.2.5
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0

Anything else relevant?

No response

@JeanMeche
Copy link
Member

NG0200 is a circular DI issue : https://angular.dev/errors/NG0200

Also you should disable optimisations in devmode to get more error details.

@JeanMeche JeanMeche closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2025
@rudyhadoux
Copy link
Author

rudyhadoux commented Apr 2, 2025

Wouldn't it be possible to put a clear error message for a circular DI ?
Il ne serait pas possible de mettre un message d'erreur clair pour un circular DI ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants