Error map

NG8103 Angular: NG8103: The *ngIf directive was used, but neither the NgIf directive nor the CommonModule was imported

Angular Β· layer 1, On your device

Open the full error page β†’

Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

NG8103 β€” Angular: NG8103: The *ngIf directive was used, but neither the NgIf directive nor the CommonModule was imported (Angular)NG8103NG8001 β€” Angular: NG8001: 'app-item' is not a known element β€” verify that it is included in the component's imports (Angular)NG8001NG8004 β€” Angular: NG8004: No pipe found with name 'async' / 'date' / 'translate' β€” pipe not imported (Angular)NG8004NG8113 β€” Angular: NG8113: NgIf is not used within the template of AppComponent β€” unused standalone import (Angular)NG8113NG0301 β€” Angular: NG0301: Export of name 'x' not found! (template variable #x="exportAs") (Angular)NG0301NG0955 β€” Angular: NG0955: The provided track expression resulted in duplicated keys for a given collection (@for) (Angular)NG0955NG02200 β€” Angular: NG02200: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays (Angular)NG02200NG6008 β€” Angular: NG6008: Component X is standalone, and cannot be declared in an NgModule. Did you mean to import it instead? (Angular)NG6008NullInjectorError β€” Angular: NullInjectorError: No provider for X! (Angular)NullInjectorErrorNG8002 β€” Angular: NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input' (Angular)NG8002NG8003 β€” Angular: NG8003: No directive found with exportAs 'ngForm' (template reference variable) (Angular)NG8003NG02100 β€” Angular: NG02100: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe' (Angular)NG02100NG02100 β€” Angular: NG02100: InvalidPipeArgument: 'Unable to convert "x" into a date' for pipe 'DatePipe' (Angular)NG02100Component is not resolved: templateUrl β€” Angular tests: Component 'X' is not resolved: templateUrl: ./x.component.html β€” Did you run and wait for 'resolveComponentResources()'? (Angular)Component is not re…NG0100 β€” Angular: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked (Angular)NG0100Cannot find control with name β€” Angular: Error: Cannot find control with name: 'email' (reactive forms) (Angular)Cannot find control…exceeded maximum budget β€” Angular build: Error: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 120.00 kB with a total of 1.12 MB (Angular)exceeded maximum bu…NG0300 β€” Angular: NG0300: Multiple components match node with tagname app-x: A and B (Angular)NG0300NG0912 β€” Angular: NG0912: Component ID generation collision detected. Components 'A' and 'B' with selector 'app-x' use the same ID (Angular)NG0912Schema validation failed with the following errors β€” Angular CLI: Schema validation failed with the following errors: Data path "" must NOT have additional properties(xyz) (Angular)Schema validation f…

Directly related (7)

NG8001Angular

Angular: NG8001: 'app-item' is not a known element β€” verify that it is included in the component's imports

The template uses a tag Angular does not recognise as a component β€” it was never imported (standalone) or declared/exported (NgMo…

NG8004Angular

Angular: NG8004: No pipe found with name 'async' / 'date' / 'translate' β€” pipe not imported

The template uses a pipe Angular does not know β€” it is not imported into the component (standalone) or its module.

NG8113Angular

Angular: NG8113: NgIf is not used within the template of AppComponent β€” unused standalone import

A standalone component lists a directive, pipe or component in `imports` but never uses it in its template.

NG0301Angular

Angular: NG0301: Export of name 'x' not found! (template variable #x="exportAs")

A template variable asks for a directive by `exportAs` name, but no directive with that export is on the element at runtime.

NG0955Angular

Angular: NG0955: The provided track expression resulted in duplicated keys for a given collection (@for)

In an `@for` block (or `trackBy`), two items produced the same tracking key, so Angular cannot match them to DOM nodes reliably.

NG02200Angular

Angular: NG02200: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays

`*ngFor` (or `@for`) was given an object, `null` shape or a non-iterable instead of an array.

NG6008Angular

Angular: NG6008: Component X is standalone, and cannot be declared in an NgModule. Did you mean to import it instead?

A standalone component, directive or pipe was listed in an NgModule's `declarations` array.

Two steps away (12)

NullInjectorErrorAngular

Angular: NullInjectorError: No provider for X!

Angular’s dependency injection couldn’t find a provider for a service/token the component needs.

NG8002Angular

Angular: NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input'

The template uses a property binding that no imported directive provides β€” for ngModel, FormsModule isn’t imported.

NG8003Angular

Angular: NG8003: No directive found with exportAs 'ngForm' (template reference variable)

A template reference such as `#f="ngForm"` points at a directive Angular cannot find on that element β€” the module that provides i…

NG02100Angular

Angular: NG02100: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'

The `async` pipe received a plain object or array instead of an Observable or Promise.

NG02100Angular

Angular: NG02100: InvalidPipeArgument: 'Unable to convert "x" into a date' for pipe 'DatePipe'

The `date` pipe was given a value it cannot turn into a Date β€” an invalid string, a non-ISO format, `null` handled wrongly or a s…

Component is not resolved: templateUrlAngular

Angular tests: Component 'X' is not resolved: templateUrl: ./x.component.html β€” Did you run and wait for 'resolveComponentResources()'?

A test created a component whose external template was not compiled yet β€” `compileComponents()` was not called/awaited, or the te…

NG0100Angular

Angular: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked

A template value changed during the same change-detection cycle in which Angular already checked it (dev-mode only error).

Cannot find control with nameAngular

Angular: Error: Cannot find control with name: 'email' (reactive forms)

A `formControlName` points at a control that does not exist in the bound `FormGroup`.

exceeded maximum budgetAngular

Angular build: Error: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 120.00 kB with a total of 1.12 MB

The production build is larger than the size limits (budgets) in angular.json, and the build is configured to fail.

NG0300Angular

Angular: NG0300: Multiple components match node with tagname app-x: A and B

Two components in scope share the same selector, so Angular cannot decide which one renders for that tag.

NG0912Angular

Angular: NG0912: Component ID generation collision detected. Components 'A' and 'B' with selector 'app-x' use the same ID

Angular generated the same internal id for two different components β€” usually two components with the same selector, template and…

Schema validation failed with the following errorsAngular

Angular CLI: Schema validation failed with the following errors: Data path "" must NOT have additional properties(xyz)

`angular.json` (or an option you passed to a builder) contains a property the schema does not allow β€” a typo, an option removed i…