ng generate directive directive/sort --skipTests throws More than one module matches. code example
Example 1: skip import angular 6
ng g component component-name --skip-import
Example 2: ng g more than one module matches
ng g c new-component --module app