angularangular-cliangular-package-format

Upgrading library projects to Angular 12?


I'm trying to run this on library projects / projects that have a workspace:

ng update @angular/core @angular/cli @angular/material

It worked on one project, however for the rest I always get:

Cannot locate bin for temporary package: @angular/cli

Any ideas?


Solution

  • I had the same issue after upgrading to ng 12.
    We use nrwl/nx which makes everything even more tricky...

    Workaround

    Notes