Could not find the builder's node package Angular Origin: On your device Last updated 15 Oct 2026

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.

Exact message you may see Could not find the '@angular-devkit/build-angular:browser' builder's node packageCannot find module '@angular-devkit/build-angular/package.json'Could not find the '@angular-devkit/build-angular:dev-server' builderCould not find the '@angular/build:application' builder's node packageThis is probably because of an error in your angular.json builder
Seen on: Angular Angular CLI npm

Meaning

ng serve and ng build load the builder from @angular-devkit/build-angular (or @angular/build). If node_modules was deleted, npm install failed partway, devDependencies were skipped (NODE_ENV=production), or the package was removed, the CLI cannot find it.

Common causes

  • npm install not run after cloning
  • Install skipped devDependencies (production mode)
  • Package removed or version mismatch after an upgrade
  • Corrupted node_modules or a failed install
  • Builder changed (esbuild @angular/build) but angular.json still points at the old one

⚡ Quick fix

  1. Run npm install (install devDependencies too)
  2. Delete node_modules and the lockfile if corrupted, then reinstall
  3. Install the builder: npm i -D @angular-devkit/build-angular

Detailed fix by platform

npm

  1. rm -rf node_modules && npm ci (or npm install)
  2. Make sure devDependencies install: npm install --include=dev

Angular CLI

  1. ng update @angular/cli @angular/core to align builder versions

How to diagnose

  1. Folder — Does node_modules/@angular-devkit exist?
  2. Install — Did npm install finish without errors?
  3. Mode — NODE_ENV=production skipping dev dependencies?

🔧 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…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…EmptyError — RxJS: EmptyError: no elements in sequence (firstValueFrom / lastValueFrom on an empty Observable) (Angular)EmptyErrorENOENT — npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json' (npm)ENOENTERESOLVE 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…Karma Disconnected / no captured browser — Angular tests: Disconnected, because no message in 30000 ms. / ERROR [launcher]: Cannot start ChromeHeadless (Angular)Karma Disconnected / …Could not…

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.