Error map

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

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.

NG6008 β€” Angular: NG6008: Component X is standalone, and cannot be declared in an NgModule. Did you mean to import it instead? (Angular)NG6008NG8001 β€” Angular: NG8001: 'app-item' is not a known element β€” verify that it is included in the component's imports (Angular)NG8001NG8103 β€” Angular: NG8103: The *ngIf directive was used, but neither the NgIf directive nor the CommonModule was imported (Angular)NG8103NG8113 β€” Angular: NG8113: NgIf is not used within the template of AppComponent β€” unused standalone import (Angular)NG8113NG0300 β€” 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)NG0912exceeded 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…Schema 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…NullInjectorError β€” 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)NG8003NG8004 β€” Angular: NG8004: No pipe found with name 'async' / 'date' / 'translate' β€” pipe not imported (Angular)NG8004NG0301 β€” 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)NG02200Cannot find control with name β€” Angular: Error: Cannot find control with name: 'email' (reactive forms) (Angular)Cannot find control…Could not find the builder's node package β€” Angular CLI: Could not find the '@angular-devkit/build-angular:browser' builder's node package / Cannot find module '@angular-devkit/build-angular/package.json' (Angular)Could not find the …Can't find stylesheet to import β€” Angular (Sass): Error: Can't find stylesheet to import. @import 'variables'; (Angular)Can't find styleshe…ChunkLoadError β€” ChunkLoadError: Loading chunk 123 failed. (JavaScript)ChunkLoadErrorNG0200 β€” Angular: NG0200: Circular dependency in DI detected for X (Angular)NG0200NG0201 β€” Angular: NG0201: No provider for X found in NodeInjector (Angular)NG0201NG0203 β€” Angular: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer or a function used with runInInjectionContext (Angular)NG0203NG0500 β€” Angular SSR: NG0500: During hydration Angular expected <div> but found <span> (NG0501, NG0502) (Angular)NG0500NG0600 β€” Angular: NG0600: Writing to signals is not allowed in a computed or an effect by default (Angular)NG0600

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…

NG8103Angular

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

A standalone component uses `*ngIf`, `*ngFor` or `ngClass` without importing the directive β€” or should migrate to the built-in `@…

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.

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…

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.

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…

Two steps away (16)

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…

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.

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.

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`.

Could not find the builder's node packageAngular

Angular CLI: Could not find the '@angular-devkit/build-angular:browser' builder's node package / Cannot find module '@angular-devkit/build-angular/package.json'

The build tooling package is missing from `node_modules` β€” dependencies were not installed or the lockfile/install is broken.

Can't find stylesheet to importAngular

Angular (Sass): Error: Can't find stylesheet to import. @import 'variables';

A Sass `@import` / `@use` cannot resolve its path β€” wrong relative path, missing underscore partial, or the include path is not c…

ChunkLoadErrorJavaScript

ChunkLoadError: Loading chunk 123 failed.

A lazily loaded JavaScript chunk couldn’t be downloaded β€” usually because a new deployment removed the old hashed files.

NG0200Angular

Angular: NG0200: Circular dependency in DI detected for X

Two or more services inject each other (directly or through a chain), so Angular cannot create any of them first.

NG0201Angular

Angular: NG0201: No provider for X found in NodeInjector

A component or directive asked for a service no injector in its tree provides.

NG0203Angular

Angular: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer or a function used with runInInjectionContext

`inject()` was called somewhere Angular is not constructing a class β€” for example inside a method, a callback or after an `await`.

NG0500Angular

Angular SSR: NG0500: During hydration Angular expected <div> but found <span> (NG0501, NG0502)

The HTML rendered on the server does not match what the browser's Angular app tried to render, so hydration failed and the page w…

NG0600Angular

Angular: NG0600: Writing to signals is not allowed in a computed or an effect by default

A `computed()` (or, by default, an `effect()`) tried to call `.set()` or `.update()` on a signal β€” that creates hidden update loo…