Error map
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 · layer 1, On your device
Centre: this error. First ring: errors it is linked with (12). 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.
Directly related (12)
Angular CLI: Node.js version v16.20.2 detected. The Angular CLI requires a minimum Node.js version of v18.19.1
Your Node.js is older (or newer, unsupported) than the Angular CLI version needs.
Angular: NG02100: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'
The `async` pipe received a plain object or array instead of an Observable or Promise.
Angular tests: Disconnected, because no message in 30000 ms. / ERROR [launcher]: Cannot start ChromeHeadless
`ng test` could not start or keep the browser Karma uses — Chrome is missing, runs as root in a container, or the test run hung.
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.
Angular CLI: Repository is not clean. Please commit or stash any changes before updating.
`ng update` refuses to run because git has uncommitted changes; it wants every migration to be a reviewable diff.
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.
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.
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…
Angular CLI: [HPM] Error occurred while proxying request localhost:4200 to http://localhost:3000 [ECONNREFUSED]
The `ng serve` dev proxy cannot forward your API call — it was not enabled, the path does not match, or the target server is down.
Angular: Http failure during parsing for http://…: SyntaxError: Unexpected token '<' (response is not JSON)
The request succeeded (status 200) but the body could not be parsed as the expected type — usually HTML or plain text instead of…
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…
Angular: HttpErrorResponse — Http failure response for (unknown url): 0 Unknown Error (status 0)
`HttpClient` got no HTTP response at all: the request was blocked (CORS), failed at network level, or the server is unreachable —…
Two steps away (29)
npm WARN EBADENGINE Unsupported engine / The engine "node" is incompatible with this module
A package requires a different Node.js version than the one you’re running.
Angular CLI: zsh: command not found: ng / 'ng' is not recognized as an internal or external command
The Angular CLI is not installed globally or its folder is not on your PATH.
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.
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.
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.
RxJS: TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.
An RxJS operator (`switchMap`, `mergeMap`, `forkJoin`, `subscribe`) received `undefined` — a function forgot to `return` an Obser…
Angular: Error: Cannot find control with name: 'email' (reactive forms)
A `formControlName` points at a control that does not exist in the bound `FormGroup`.
Angular: NullInjectorError: No provider for ActivatedRoute! (also Router) — usually a unit test
A component injects `ActivatedRoute` or `Router`, but no router providers exist in the injector — typical in unit tests or when t…
Angular tests: Error: Expected to be running in 'ProxyZone', but it was not found.
`fakeAsync` / `waitForAsync` was used, but the test environment's zone testing setup is missing.
npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json'
npm ran in a directory without a package.json.
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.
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…
Angular CLI: Port 4200 is already in use. Use '--port' to specify a different port
Another process is already listening on the dev-server port, often an earlier `ng serve` that was not stopped.
Angular: npm ERR! ERESOLVE could not resolve — Conflicting peer dependency: @angular/core@"^16.0.0" (after ng update / ng add)
A package in your project requires an older Angular version than the one you are installing, so npm refuses the upgrade.
Angular: NullInjectorError: No provider for X!
Angular’s dependency injection couldn’t find a provider for a service/token the component needs.
Angular: NG0201: No provider for X found in NodeInjector
A component or directive asked for a service no injector in its tree provides.
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`.
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).
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 `@…
TypeScript: error TS2454: Variable 'x' is used before being assigned.
Control flow shows a path where the variable is read before any assignment.
TS2322: Type 'X' is not assignable to type 'Y'
You assigned a value whose type doesn’t match the declared type of the variable, property or return value.
Error: listen EACCES: permission denied 0.0.0.0:80
Node isn’t allowed to bind that port — ports below 1024 need root on Linux/macOS, and some Windows ports are reserved.
Angular: Http failure response for http://…/api/x: 404 Not Found (HttpErrorResponse)
The API answered 404 — the URL is wrong (base URL, path or id), or the proxy/rewrite does not forward the request.
SyntaxError: Unexpected token '<' (HTML served instead of JavaScript)
The browser loaded a .js file but received HTML (an error page or the SPA index.html).
API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error)
The server couldn’t parse the request body as JSON, so it rejected the request before looking at any field.
Angular: NullInjectorError: No provider for HttpClient! — provideHttpClient() missing
A service or component injects `HttpClient`, but HTTP support was never added to the app's providers.
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.
TypeError: Failed to fetch / NetworkError when attempting to fetch resource
The browser couldn’t complete the request at the network level — CORS, DNS, offline, blocked mixed content, or the server refused…
CORS Error: No 'Access-Control-Allow-Origin' header is present
The browser blocked a cross-origin request because the server’s response didn’t include the CORS headers allowing your site’s ori…