I am using Angular 7 for my Application and I am getting error while running it on development server .
I did ng serve
but I got error
This is due to npm audit fix
installing a newer version of the @angular-devkit/build-angular package, specifically the 0.800.x versions, which has breaking changes from the 0.13.9 version. Thus, running the 0.800 version of this package breaks the angular-cli when used with Angular 7.
To fix this issue install the older stable package version with:
npm install --save-dev @angular-devkit/build-angular@0.13.9