Reputation: 61
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
Upvotes: 3
Views: 8621
Reputation: 399
Uninstall your current Global Angular using npm uninstall -g @angular/cli
Run npm cache verify
Re-Install Angular CLI npm install -g @angular/cli@latest
Then, before you try to re-create your project using ng new {projectname}
make sure you delete the previously-created one, otherwise, you will get the same error. You can navigate to c/users/{yourusername}
to see all the projects that were previously created unsuccessfully.
Upvotes: 1
Reputation: 1343
Try the of this post. But in case of mine these steps did not help
https://stackoverflow.com/a/59441929/1115166
If Issue still remains. I would suggest delete everything from the
C:\Users\\AppData\Roaming\npm-cache
folder.
Upvotes: 1
Reputation: 351
Upvotes: 3