An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json' Require stack:
snippet in javascript

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json' Require stack:

user5500

npm install --save-dev @angular-devkit/build-angular

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

user389

npm install --save-dev @angular-devkit/build-angular

clone from git Could not find module "@angular-devkit/build-angular

user7430

npm update

Could not find module "@angular-devkit/build-angular

user1262

ng update @angular/cli @angular/core

If you are updating from angular 7 to angular 8 then do this

ng update @angular/cli @angular/core
for more information read here https://github.com/just-jeb/angular-builders/blob/master/MIGRATION.MD