Job name "..getProjectMetadata" does not exist Job name "..getProjectMetadata" does not exist angular angular

Job name "..getProjectMetadata" does not exist


It seems to be an issue with @angular-devkit/build-angular..Try downgrading it to a specific version:

npm i @angular-devkit/build-angular@0.803.24


Run also npm i @angular-builders/custom-webpack@8.4.1 --save

For me Occian's answer was not enough, I also had to change @angular-builders/custom-webpack from latest to 8.4.1, because it had build-angular dependency too. This is how to figure it out:

npm list @angular-devkit/build-angular

reports-web-client@0.0.0 C:\projects\2778\reports-web-client+-- @angular-builders/custom-webpack@9.1.0| `-- @angular-devkit/build-angular@0.901.1`-- @angular-devkit/build-angular@0.803.8

Which meant, I had 2 versions of the package, and that's why the error would still show up.


Personally, the best solution is:

ng update @angular/cli @angular/core

Why? Because sooner or later, you need to upgrade to Angular 9+ and the other solutions are only to downgrade it.

I was facing the same issue today until I used this solution and this one works perfectly well.