I have an error (The Schematic workflow failed) in Angular 7

Rasool ALmusawie picture Rasool ALmusawie · Jan 25, 2019 · Viewed 7.5k times · Source

I installed angular 7 in my windows 10 and the version of my configurations are :

Node : v11.8.0
npm : 6.7.0

Angular CLI: 7.2.3
Node: 11.8.0
OS: win32 x64
Angular:

...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.12.3
@angular-devkit/core         7.2.3
@angular-devkit/schematics   7.2.3
@angular/cli                 7.2.3
@angular/fire                5.1.0
@schematics/angular          7.2.3
@schematics/update           0.12.3
rxjs                         6.3.3
typescript                   3.2.2

when i create a new project in angular it's show error (The Schematic workflow failed)in the photo below enter image description here

How can i solve this problem

Answer

Souad Henane picture Souad Henane · Dec 22, 2019
  1. Uninstall your current Global Angular cli npm uninstall -g @angular/cli
  2. Run npm cache verify
  3. Re-Install Angular CLI npm install -g @angular/cli@latest
  4. Create your new project using ng new command