Search code examples
javascriptangularnpmangular-upgradeangular9

Upgrade from angular 8.2 to angular 9 issue


When Upgrading from angular 8.2 to angular 9 I got this error

An unhandled exception occurred: Cannot find module '@angular-devkit/schematics'

How can I overcome this error?


this is the used command:

ng update @angular/core @angular/cli --next


Solution

  • I can overcome this issue when running this command before the update command

    npm i --save-dev @angular-devkit/schematics