Schema validation failed with the following errors Angular Origin: On your device Last updated 15 Oct 2026

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 in a newer CLI, or the wrong builder.

Exact message you may see Schema validation failed with the following errorsData path "" must NOT have additional propertiesData path "/budgets/0" must have required propertyUnknown option in angular.json
Seen on: Angular Angular CLI

Meaning

The message names the data path and the offending property. After upgrades, options like browserTarget, buildOptimizer, vendorChunk, aot or es5BrowserSupport were renamed or removed. Delete or rename the property, or run ng update to apply the migrations.

Common causes

  • Option removed or renamed in the new Angular version (browserTarget → buildTarget)
  • Typo in an option name
  • Option belongs to another builder (for example esbuild vs webpack)
  • Hand-edited angular.json copied from an older project
  • Wrong type (string instead of boolean/array)

⚡ Quick fix

  1. Read the named property in the error and remove or rename it
  2. Run ng update @angular/cli to migrate configuration
  3. Check the builder docs for valid options

Detailed fix by platform

Angular CLI

  1. Compare with a freshly generated project: ng new tmp-app and diff its angular.json
  2. Re-run migrations: ng update @angular/cli @angular/core

Code examples

Renamed option

json
"serve": {
  "builder": "@angular-devkit/build-angular:dev-server",
  "configurations": {
    "development": { "buildTarget": "my-app:build:development" }   // was "browserTarget" before Angular 17
  }
}

How to diagnose

  1. Path — Which Data path and property are named?
  2. Version — Which CLI version?
  3. Builder — Which builder uses this option?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

Can't find stylesheet to import — Angular (Sass): Error: Can't find stylesheet to import. @import 'variables'; (Angular)Can't find stylesheet…Cannot GET /route on refresh — Angular (production): Cannot GET /dashboard — 404 when refreshing or opening a deep link (Angular)Cannot GET /route on …Component 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 reso…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 bu…EmptyError — RxJS: EmptyError: no elements in sequence (firstValueFrom / lastValueFrom on an empty Observable) (Angular)EmptyErrorERESOLVE peer dependency conflict after ng update — Angular: npm ERR! ERESOLVE could not resolve — Conflicting peer dependency: @angular/core@"^16.0.0" (after ng update / ng add) (Angular)ERESOLVE peer depende…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 budg…Expected to be running in 'ProxyZone' — Angular tests: Error: Expected to be running in 'ProxyZone', but it was not found. (Angular)Expected to be runnin…Schema va…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.