Friday 19 November 2021

Angular CLI command issue: "Unknown option: '--spec'"

 ng g c componentname --skipTests true

In the newer version of Angular CLI --spec is replaced with --skipTests.

This is working at my site.


Example: 

ng g c home --skipTests=true

No comments:

Post a Comment