Job name "..getProjectMetadata" does not exist
Run also npm i @angular-builders/[email protected] --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
[email protected] C:\projects\2778\reports-web-client +-- @angular-builders/[email protected] | `-- @angular-devkit/[email protected] `-- @angular-devkit/[email protected]
Which meant, I had 2 versions of the package, and that's why the error would still show up.
It seems to be an issue with @angular-devkit/build-angular
..
Try downgrading it to a specific version:
npm i @angular-devkit/[email protected]
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.